
phk at varnish-cache
Apr 27, 2012, 6:44 AM
Post #1 of 1
(46 views)
Permalink
|
|
[master] 9c449d0 Make things compile on OpenBSD
|
|
commit 9c449d0417df9e1268f81271dbfd11f700aa24bd Author: Poul-Henning Kamp <phk [at] FreeBSD> Date: Fri Apr 27 13:43:51 2012 +0000 Make things compile on OpenBSD Submitted by: Brad Smith <brad [at] comstyle> diff --git a/bin/varnishd/cache/cache_dir_dns.c b/bin/varnishd/cache/cache_dir_dns.c index 9cad3f6..ee411dc 100644 --- a/bin/varnishd/cache/cache_dir_dns.c +++ b/bin/varnishd/cache/cache_dir_dns.c @@ -29,6 +29,8 @@ #include "config.h" +#include <sys/types.h> +#include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> diff --git a/bin/varnishd/cache/cache_vrt.c b/bin/varnishd/cache/cache_vrt.c index cbe5637..10658cd 100644 --- a/bin/varnishd/cache/cache_vrt.c +++ b/bin/varnishd/cache/cache_vrt.c @@ -31,6 +31,8 @@ #include "config.h" +#include <sys/types.h> +#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/bin/varnishd/mgt/mgt_cli.c b/bin/varnishd/mgt/mgt_cli.c index cbea81f..3b0c1a7 100644 --- a/bin/varnishd/mgt/mgt_cli.c +++ b/bin/varnishd/mgt/mgt_cli.c @@ -31,6 +31,7 @@ #include "config.h" +#include <sys/types.h> #include <sys/socket.h> #include <fcntl.h> diff --git a/bin/varnishd/storage/stevedore_utils.c b/bin/varnishd/storage/stevedore_utils.c index 89c6027..2364289 100644 --- a/bin/varnishd/storage/stevedore_utils.c +++ b/bin/varnishd/storage/stevedore_utils.c @@ -34,6 +34,7 @@ #include <sys/types.h> #include <sys/stat.h> #ifdef HAVE_SYS_MOUNT_H +# include <sys/param.h> # include <sys/mount.h> #endif #ifdef HAVE_SYS_STATVFS_H _______________________________________________ varnish-commit mailing list varnish-commit [at] varnish-cache https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
|