blob: 8e00b01d9b904b0dd58733411c8c0a3a8829358d (
plain) (
blame)
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
|
--- cherokee/util.h.orig Tue Sep 20 01:44:20 2005
+++ cherokee/util.h Tue Sep 20 11:56:57 2005
@@ -30,13 +30,21 @@
#define CHEROKEE_UTIL_H
#include <cherokee/common.h>
+#include <time.h>
+#include <dirent.h>
+#include <sys/types.h>
+
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
-
-#include <time.h>
-#include <dirent.h>
#include <cherokee/buffer.h>
|