diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-08-28 08:31:17 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-28 22:13:42 +0200 |
commit | 05fa70fd2b651aef91a0398659d1548d9e06c709 (patch) | |
tree | ac725d5d25884fdc6c907fb7698d50d3cf5a5cf6 | |
parent | b8bd6bda6780f2afb20db2e557327842e47f5423 (diff) | |
download | sssd-05fa70fd2b651aef91a0398659d1548d9e06c709.tar.gz sssd-05fa70fd2b651aef91a0398659d1548d9e06c709.tar.xz sssd-05fa70fd2b651aef91a0398659d1548d9e06c709.zip |
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.
-rw-r--r-- | src/util/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util.c b/src/util/util.c index 63cffe85e..480296766 100644 --- a/src/util/util.c +++ b/src/util/util.c @@ -21,6 +21,7 @@ #include <ctype.h> #include <netdb.h> #include <poll.h> +#include <sys/socket.h> #include "talloc.h" #include "util/util.h" |