summaryrefslogtreecommitdiffstats
path: root/pw/cpdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw/cpdir.c')
-rw-r--r--pw/cpdir.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pw/cpdir.c b/pw/cpdir.c
index 334f789..e84d0f3 100644
--- a/pw/cpdir.c
+++ b/pw/cpdir.c
@@ -29,12 +29,17 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
-#include <dirent.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/param.h>
+#include <dirent.h>
#include "pw.h"
#include "pwupd.h"