summaryrefslogtreecommitdiffstats
path: root/main/libdaemon/fix-includes.patch
blob: 51c5133afedefc302369ec01e359910f05108678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- libdaemon-0.14.orig/examples/testd.c
+++ libdaemon-0.14/examples/testd.c
@@ -21,9 +21,9 @@
 #include <signal.h>
 #include <errno.h>
 #include <string.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/time.h>
-#include <sys/unistd.h>
 #include <sys/select.h>
 
 #include <libdaemon/dfork.h>