commit ecf4d7faa041aed1345f47d931f0e2e8fa6a6b70
parent b05ec6cbdacdf40d6c75326394461e22b7f8ab20
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Mon, 9 Sep 2019 19:05:31 +0200
use system headers for files introduced since netqmail-1.06
Diffstat:
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/gid.c b/gid.c
@@ -1,9 +1,9 @@
#include <sys/types.h>
#include <grp.h>
+#include <unistd.h>
#include "uidgid.h"
#include "subfd.h"
#include "substdio.h"
-#include "exit.h"
int
initgid(char *group)
diff --git a/instchown.c b/instchown.c
@@ -1,6 +1,7 @@
+#include <sys/stat.h>
+#include <unistd.h>
#include "strerr.h"
#include "error.h"
-#include "exit.h"
#include "hier.h"
extern void init_uidgid();
diff --git a/instpackage.c b/instpackage.c
@@ -1,3 +1,5 @@
+#include <sys/stat.h>
+#include <unistd.h>
#include "substdio.h"
#include "strerr.h"
#include "env.h"
@@ -5,8 +7,6 @@
#include "fifo.h"
#include "hier.h"
#include "open.h"
-#include "readwrite.h"
-#include "exit.h"
#include "alloc.h"
#include "str.h"
#include "stralloc.h"
diff --git a/uid.c b/uid.c
@@ -1,9 +1,9 @@
#include <sys/types.h>
#include <pwd.h>
+#include <unistd.h>
#include "uidgid.h"
#include "subfd.h"
#include "substdio.h"
-#include "exit.h"
int
inituid(char *user)