--- Frodo4/Src/sysdeps.h 2003/07/01 17:09:43 1.1 +++ Frodo4/Src/sysdeps.h 2005/06/27 19:55:48 1.9 @@ -2,7 +2,7 @@ * sysdeps.h - Try to include the right system headers and get other * system-specific stuff right * - * Frodo (C) 1994-1997,2002 Christian Bauer + * Frodo (C) 1994-1997,2002-2005 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,18 +21,15 @@ #include "sysconfig.h" -extern "C" -{ - #include #include #include #include - -#ifndef __PSXOS__ #include #include -#endif + +#include +using std::vector; #ifdef HAVE_SYS_TYPES_H #include @@ -95,9 +92,7 @@ extern "C" # if HAVE_SYS_TIME_H # include # else -#ifndef __PSXOS__ # include -#endif # endif #endif @@ -116,19 +111,12 @@ extern "C" # endif #endif -#ifndef __PSXOS__ -#include -#endif #include #if EEXIST == ENOTEMPTY #define BROKEN_OS_PROBABLY_AIX #endif -#ifdef HAVE_LINUX_JOYSTICK_H -#include -#endif - #ifdef __NeXT__ #define S_IRUSR S_IREAD #define S_IWUSR S_IWRITE @@ -194,7 +182,7 @@ typedef long int32; #else #error No 4 byte type, you lose. #endif -#endif // __BEOS__ -#define UNUSED(x) (x = x) -} +#else +#include +#endif // __BEOS__