commit 6e67fbd78d2235db1ca07e85022ab164c08302a7
parent ce738b09da4cbbc5da3e36b4849c477ad82f600f
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 8 Sep 2008 06:07:45 +0000
cleanup
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/include/platform.h b/src/include/platform.h
@@ -37,9 +37,11 @@
#include "MHD_config.h"
#define _XOPEN_SOURCE_EXTENDED 1
+#if OS390
#define _OPEN_THREADS
#define _OPEN_SYS_SOCK_IPV6
#define _OPEN_MSGQ_EXT
+#endif
#include <stdio.h>
#include <stdlib.h>
@@ -50,8 +52,6 @@
#include <fcntl.h>
#include <signal.h>
#include <pthread.h>
-#include <sys/types.h>
-
/* different OSes have size_t, fd_set in
a broad range of header files;
@@ -76,6 +76,9 @@
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
+#if HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
#if HAVE_SYS_MSG_H
#include <sys/msg.h>
#endif