summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-rw-r--r--nscd/initgrcache.c2
-rw-r--r--nscd/netgroupcache.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/nscd/initgrcache.c b/nscd/initgrcache.c
index a9f230bfb0..c37b920fae 100644
--- a/nscd/initgrcache.c
+++ b/nscd/initgrcache.c
@@ -20,10 +20,12 @@
#include <errno.h>
#include <grp.h>
#include <libintl.h>
+#include <stdio.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/param.h>
#include <scratch_buffer.h>
#include <config.h>
diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c
index 88c69d1e9c..dacd52315a 100644
--- a/nscd/netgroupcache.c
+++ b/nscd/netgroupcache.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/param.h>
#include "../inet/netgroup.h"
#include "nscd.h"