Lines 1-27
Link Here
|
1 |
--- cherokee/util.h.orig Tue Sep 20 01:44:20 2005 |
1 |
--- cherokee/util.h.orig Sat Oct 15 19:31:05 2005 |
2 |
+++ cherokee/util.h Tue Sep 20 11:56:57 2005 |
2 |
+++ cherokee/util.h Thu Oct 20 00:59:40 2005 |
3 |
@@ -30,13 +30,21 @@ |
3 |
@@ -31,6 +31,14 @@ |
4 |
#define CHEROKEE_UTIL_H |
|
|
5 |
|
4 |
|
6 |
#include <cherokee/common.h> |
5 |
#include <cherokee/common.h> |
7 |
+#include <time.h> |
6 |
|
8 |
+#include <dirent.h> |
7 |
+#ifdef HAVE_SYS_TYPES_H |
9 |
+#include <sys/types.h> |
8 |
+#include <sys/types.h> |
|
|
9 |
+#endif |
10 |
+ |
10 |
+ |
11 |
+#ifdef HAVE_SYS_SOCKET_H |
11 |
+#ifdef HAVE_SYS_SOCKET_H |
12 |
+# include <sys/socket.h> |
12 |
+# include <sys/socket.h> |
13 |
+#endif |
13 |
+#endif |
14 |
+ |
14 |
+ |
15 |
+#ifdef HAVE_ARPA_INET_H |
|
|
16 |
+# include <arpa/inet.h> |
17 |
+#endif |
18 |
|
19 |
#ifdef HAVE_NETINET_IN_H |
15 |
#ifdef HAVE_NETINET_IN_H |
20 |
# include <netinet/in.h> |
16 |
# include <netinet/in.h> |
21 |
#endif |
17 |
#endif |
22 |
- |
|
|
23 |
-#include <time.h> |
24 |
-#include <dirent.h> |
25 |
|
26 |
#include <cherokee/buffer.h> |
27 |
|