platform.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00034 #ifndef MHD_PLATFORM_H
00035 #define MHD_PLATFORM_H
00036
00037 #include "MHD_config.h"
00038
00039 #define _XOPEN_SOURCE_EXTENDED 1
00040 #if OS390
00041 #define _OPEN_THREADS
00042 #define _OPEN_SYS_SOCK_IPV6
00043 #define _OPEN_MSGQ_EXT
00044 #define _LP64
00045 #endif
00046
00047 #include <stdio.h>
00048 #include <stdlib.h>
00049 #include <stdint.h>
00050 #include <string.h>
00051 #include <unistd.h>
00052 #include <stdarg.h>
00053 #include <errno.h>
00054 #include <fcntl.h>
00055 #include <signal.h>
00056 #if !defined(MINGW) && !defined(__SYMBIAN32__)
00057 #include <search.h>
00058 #endif
00059 #include <stddef.h>
00060 #undef HAVE_CONFIG_H
00061 #include <pthread.h>
00062 #define HAVE_CONFIG_H 1
00063
00064
00065
00066
00067
00068
00069
00070 #ifdef OS_VXWORKS
00071 #include <sockLib.h>
00072 #include <netinet/in.h>
00073 #include <stdarg.h>
00074 #include <sys/mman.h>
00075 #define RESTRICT __restrict__
00076 #endif
00077
00078 #if HAVE_SYS_SELECT_H
00079 #include <sys/select.h>
00080 #endif
00081 #if HAVE_SYS_TYPES_H
00082 #include <sys/types.h>
00083 #endif
00084 #if HAVE_SYS_TIME_H
00085 #include <sys/time.h>
00086 #endif
00087 #if HAVE_SYS_STAT_H
00088 #include <sys/stat.h>
00089 #endif
00090 #if HAVE_SYS_MSG_H
00091 #include <sys/msg.h>
00092 #endif
00093 #if HAVE_SYS_MMAN_H
00094 #include <sys/mman.h>
00095 #endif
00096 #if HAVE_NETDB_H
00097 #include <netdb.h>
00098 #endif
00099 #if HAVE_NETINET_IN_H
00100 #include <netinet/in.h>
00101 #endif
00102 #if HAVE_TIME_H
00103 #include <time.h>
00104 #endif
00105 #if HAVE_SYS_SOCKET_H
00106 #include <sys/socket.h>
00107 #endif
00108 #if HAVE_ARPA_INET_H
00109 #include <arpa/inet.h>
00110 #endif
00111
00112 #include <plibc.h>
00113
00114
00115 #endif