diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-09-05 17:53:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-09-05 17:53:21 +0000 |
commit | e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e (patch) | |
tree | 6cc7bbc26ac2c5f94ee3108c1945ad3aadc23b5d | |
parent | d81037354ed626e20d0e6d89bd5ec7a60055dfdf (diff) | |
download | libmicrohttpd-e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e.tar.gz libmicrohttpd-e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e.zip |
vxworks diff from Thomas Martin
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/include/platform.h | 10 | ||||
-rw-r--r-- | src/include/plibc.h | 2 |
3 files changed, 12 insertions, 1 deletions
@@ -11,6 +11,7 @@ Nils Durner <durner@gnunet.org> | |||
11 | Heikki Lindholm <holindho@cs.helsinki.fi> | 11 | Heikki Lindholm <holindho@cs.helsinki.fi> |
12 | Alex Sadovsky <alexeysad@gmail.com> | 12 | Alex Sadovsky <alexeysad@gmail.com> |
13 | Greg Schohn <greg.schohn@gmail.com> | 13 | Greg Schohn <greg.schohn@gmail.com> |
14 | Thomas Martin <Thomas.Martin@rohde-schwarz.com> | ||
14 | 15 | ||
15 | Documentation contributions also came from: | 16 | Documentation contributions also came from: |
16 | Marco Maggi <marco.maggi-ipsu@poste.it> | 17 | Marco 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 */ |