libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e
parent d81037354ed626e20d0e6d89bd5ec7a60055dfdf
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  5 Sep 2008 17:53:21 +0000

vxworks diff from Thomas Martin

Diffstat:
MAUTHORS | 1+
Msrc/include/platform.h | 10++++++++++
Msrc/include/plibc.h | 2+-
3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/AUTHORS b/AUTHORS @@ -11,6 +11,7 @@ Nils Durner <durner@gnunet.org> Heikki Lindholm <holindho@cs.helsinki.fi> Alex Sadovsky <alexeysad@gmail.com> Greg Schohn <greg.schohn@gmail.com> +Thomas Martin <Thomas.Martin@rohde-schwarz.com> Documentation contributions also came from: Marco Maggi <marco.maggi-ipsu@poste.it> diff --git a/src/include/platform.h b/src/include/platform.h @@ -52,11 +52,21 @@ #include <pthread.h> #include <sys/types.h> + /* different OSes have size_t, fd_set in a broad range of header files; we just include most of them (if they are available) */ + +#ifdef OS_VXWORKS +#include <sockLib.h> +#include <netinet/in.h> +#include <stdarg.h> +#include <sys/mman.h> +#define RESTRICT __restrict__ +#endif + #if HAVE_SYS_SELECT_H #include <sys/select.h> #endif diff --git a/src/include/plibc.h b/src/include/plibc.h @@ -591,6 +591,6 @@ extern "C" #endif -//_PLIBC_H_ +/* _PLIBC_H_ */ /* end of plibc.h */