From e73cff1fdd7fdb8f96cc2a72a0cddc53cb9f388e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 5 Sep 2008 17:53:21 +0000 Subject: [PATCH] vxworks diff from Thomas Martin --- AUTHORS | 1 + src/include/platform.h | 10 ++++++++++ src/include/plibc.h | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 4806d034..85445a9b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,6 +11,7 @@ Nils Durner Heikki Lindholm Alex Sadovsky Greg Schohn +Thomas Martin Documentation contributions also came from: Marco Maggi 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 @@ #include #include + /* 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 +#include +#include +#include +#define RESTRICT __restrict__ +#endif + #if HAVE_SYS_SELECT_H #include #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" #endif -//_PLIBC_H_ +/* _PLIBC_H_ */ /* end of plibc.h */