aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2008-09-05 17:53:21 +0000
committerChristian Grothoff <christian@grothoff.org>2008-09-05 17:53:21 +0000
commite73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e (patch)
tree6cc7bbc26ac2c5f94ee3108c1945ad3aadc23b5d /src/include/platform.h
parentd81037354ed626e20d0e6d89bd5ec7a60055dfdf (diff)
downloadlibmicrohttpd-e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e.tar.gz
libmicrohttpd-e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e.zip
vxworks diff from Thomas Martin
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index eba8b614..caab6e23 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -52,11 +52,21 @@
52#include <pthread.h> 52#include <pthread.h>
53#include <sys/types.h> 53#include <sys/types.h>
54 54
55
55/* different OSes have size_t, fd_set in 56/* different OSes have size_t, fd_set in
56 a broad range of header files; 57 a broad range of header files;
57 we just include most of them (if they 58 we just include most of them (if they
58 are available) */ 59 are available) */
59 60
61
62#ifdef OS_VXWORKS
63#include <sockLib.h>
64#include <netinet/in.h>
65#include <stdarg.h>
66#include <sys/mman.h>
67#define RESTRICT __restrict__
68#endif
69
60#if HAVE_SYS_SELECT_H 70#if HAVE_SYS_SELECT_H
61#include <sys/select.h> 71#include <sys/select.h>
62#endif 72#endif