From 9d54fa809d7bf1b647e50081958ef33456c591bf Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 28 Aug 2013 08:31:17 +0200 Subject: 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(+) (limited to 'src/util') diff --git a/src/util/util.c b/src/util/util.c index 63cffe85..48029676 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" -- cgit