diff options
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/lib/setup.h b/lib/setup.h index 7316f1e45..1ca3e9b9d 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -37,15 +37,17 @@ */ #ifdef HAVE_CONFIG_H + #include "config.h" -#else + +#else /* HAVE_CONFIG_H */ #ifdef _WIN32_WCE -#include "config-win32ce.h" +# include "config-win32ce.h" #else -#ifdef WIN32 -#include "config-win32.h" -#endif +# ifdef WIN32 +# include "config-win32.h" +# endif #endif #if defined(macintosh) && defined(__MRC__) @@ -53,11 +55,11 @@ #endif #ifdef __AMIGA__ -#include "amigaos.h" +# include "amigaos.h" #endif #ifdef __SYMBIAN32__ -#include "config-symbian.h" +# include "config-symbian.h" #endif #ifdef __OS400__ @@ -68,6 +70,10 @@ # include "config-tpf.h" #endif +#ifdef __VXWORKS__ +# include "config-vxworks.h" +#endif + #endif /* HAVE_CONFIG_H */ /* ================================================================ */ @@ -230,6 +236,11 @@ # define select(a,b,c,d,e) tpf_select_libcurl(a,b,c,d,e) #endif +#ifdef __VXWORKS__ +# include <sockLib.h> /* for generic BSD socket functions */ +# include <ioLib.h> /* for basic I/O interface functions */ +#endif + #include <stdio.h> #ifdef HAVE_ASSERT_H #include <assert.h> |