blob: 599c1fefdc3ecf0810adbcec9778506994c5dff0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
--- a/libhttpd/protocol.c
+++ b/libhttpd/protocol.c
@@ -28,6 +28,7 @@
#if defined(_WIN32)
#else
+#include <fcntl.h>
#include <unistd.h>
#include <sys/file.h>
#endif
--- a/src/firewall.c
+++ b/src/firewall.c
@@ -35,7 +35,6 @@
#include <pthread.h>
#include <sys/wait.h>
#include <sys/types.h>
-#include <sys/unistd.h>
#include <string.h>
--- a/src/client_list.c
+++ b/src/client_list.c
@@ -31,9 +31,9 @@
#include <syslog.h>
#include <errno.h>
#include <pthread.h>
+#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
-#include <sys/unistd.h>
#include <string.h>
--- a/src/util.c
+++ b/src/util.c
@@ -33,10 +33,10 @@
#include <syslog.h>
#include <errno.h>
#include <pthread.h>
+#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/time.h>
-#include <sys/unistd.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
|