summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-11-18 22:42:21 +0000
committerRoland McGrath <roland@gnu.org>2005-11-18 22:42:21 +0000
commit0b20008e04df8a0ba4a072b34671a47c580f087e (patch)
treeddb4f06efb4a40b32660d361859109dfcf01b44c /nscd
parent2b7e8613353d693cb1ff6bd40726b61debe3fab4 (diff)
2005-11-18 Paul Brook <paul@codesourcery.com>
* nscd/grpcache.c: Include <sys/socket.h>. * nscd/nscd_stat.c: Likewise. * nscd/pwdcache.c: Likewise. * sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/grpcache.c1
-rw-r--r--nscd/nscd_stat.c1
-rw-r--r--nscd/pwdcache.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/nscd/grpcache.c b/nscd/grpcache.c
index 6543ef354d..3f440e9701 100644
--- a/nscd/grpcache.c
+++ b/nscd/grpcache.c
@@ -32,6 +32,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/socket.h>
#include <stackinfo.h>
#include "nscd.h"
diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c
index c1d0bffe20..7f6bd1c83e 100644
--- a/nscd/nscd_stat.c
+++ b/nscd/nscd_stat.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/socket.h>
#include <unistd.h>
#include <libintl.h>
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 6b25968f71..e4ed7e97ca 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -32,6 +32,7 @@
#include <time.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/socket.h>
#include <stackinfo.h>
#include "nscd.h"