>From 8d948146cd57a217fbc4c8a44247d0e5f70dec2b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 28 Aug 2013 08:31:17 +0200 Subject: [PATCH 4/7] UTIL: Explicitly include header file sys/socket.h We use constant AF_INET6 in util.c, but we do not explicitly include header file sys/socket.h. This header file was indirectly incuded by another header file netdb.h (netdb.h -> netinet/in.h -> sys/socket.h), but other platform can have other dependencies among header files. --- src/util/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/util.c b/src/util/util.c index 63cffe85e145953d3b2f4f85e649d2a0ac5b1b83..4802967663cb1409d1ccad98a3841f7342e4d925 100644 --- a/src/util/util.c +++ b/src/util/util.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "talloc.h" #include "util/util.h" -- 1.8.3.1