diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-09-08 06:07:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-09-08 06:07:45 +0000 |
commit | 6e67fbd78d2235db1ca07e85022ab164c08302a7 (patch) | |
tree | 59ca5aa8c802d0c06b740abd674788f2273c6654 | |
parent | ce738b09da4cbbc5da3e36b4849c477ad82f600f (diff) | |
download | libmicrohttpd-6e67fbd78d2235db1ca07e85022ab164c08302a7.tar.gz libmicrohttpd-6e67fbd78d2235db1ca07e85022ab164c08302a7.zip |
cleanup
-rw-r--r-- | src/include/platform.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index caab6e23..857a0c10 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -37,9 +37,11 @@ | |||
37 | #include "MHD_config.h" | 37 | #include "MHD_config.h" |
38 | 38 | ||
39 | #define _XOPEN_SOURCE_EXTENDED 1 | 39 | #define _XOPEN_SOURCE_EXTENDED 1 |
40 | #if OS390 | ||
40 | #define _OPEN_THREADS | 41 | #define _OPEN_THREADS |
41 | #define _OPEN_SYS_SOCK_IPV6 | 42 | #define _OPEN_SYS_SOCK_IPV6 |
42 | #define _OPEN_MSGQ_EXT | 43 | #define _OPEN_MSGQ_EXT |
44 | #endif | ||
43 | 45 | ||
44 | #include <stdio.h> | 46 | #include <stdio.h> |
45 | #include <stdlib.h> | 47 | #include <stdlib.h> |
@@ -50,8 +52,6 @@ | |||
50 | #include <fcntl.h> | 52 | #include <fcntl.h> |
51 | #include <signal.h> | 53 | #include <signal.h> |
52 | #include <pthread.h> | 54 | #include <pthread.h> |
53 | #include <sys/types.h> | ||
54 | |||
55 | 55 | ||
56 | /* different OSes have size_t, fd_set in | 56 | /* different OSes have size_t, fd_set in |
57 | a broad range of header files; | 57 | a broad range of header files; |
@@ -76,6 +76,9 @@ | |||
76 | #if HAVE_SYS_TIME_H | 76 | #if HAVE_SYS_TIME_H |
77 | #include <sys/time.h> | 77 | #include <sys/time.h> |
78 | #endif | 78 | #endif |
79 | #if HAVE_SYS_STAT_H | ||
80 | #include <sys/stat.h> | ||
81 | #endif | ||
79 | #if HAVE_SYS_MSG_H | 82 | #if HAVE_SYS_MSG_H |
80 | #include <sys/msg.h> | 83 | #include <sys/msg.h> |
81 | #endif | 84 | #endif |