From e526b83c122265575a11b08bec5bb72a50ec7230 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(+) diff --git a/src/util/util.c b/src/util/util.c index ab980775a..bfe7b5a30 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