aboutsummaryrefslogtreecommitdiff
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
parentd81037354ed626e20d0e6d89bd5ec7a60055dfdf (diff)
downloadlibmicrohttpd-e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e.tar.gz
libmicrohttpd-e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e.zip
vxworks diff from Thomas Martin
-rw-r--r--AUTHORS1
-rw-r--r--src/include/platform.h10
-rw-r--r--src/include/plibc.h2
3 files changed, 12 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 4806d034..85445a9b 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -11,6 +11,7 @@ Nils Durner <durner@gnunet.org>
11Heikki Lindholm <holindho@cs.helsinki.fi> 11Heikki Lindholm <holindho@cs.helsinki.fi>
12Alex Sadovsky <alexeysad@gmail.com> 12Alex Sadovsky <alexeysad@gmail.com>
13Greg Schohn <greg.schohn@gmail.com> 13Greg Schohn <greg.schohn@gmail.com>
14Thomas Martin <Thomas.Martin@rohde-schwarz.com>
14 15
15Documentation contributions also came from: 16Documentation contributions also came from:
16Marco Maggi <marco.maggi-ipsu@poste.it> 17Marco Maggi <marco.maggi-ipsu@poste.it>
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
diff --git a/src/include/plibc.h b/src/include/plibc.h
index a939b0c8..2021b4cf 100644
--- a/src/include/plibc.h
+++ b/src/include/plibc.h
@@ -591,6 +591,6 @@ extern "C"
591 591
592 592
593#endif 593#endif
594//_PLIBC_H_ 594/* _PLIBC_H_ */
595 595
596/* end of plibc.h */ 596/* end of plibc.h */