2 |
|
* sysdeps.h - Try to include the right system headers and get other |
3 |
|
* system-specific stuff right |
4 |
|
* |
5 |
< |
* Frodo (C) 1994-1997,2002 Christian Bauer |
5 |
> |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
6 |
|
* |
7 |
|
* This program is free software; you can redistribute it and/or modify |
8 |
|
* it under the terms of the GNU General Public License as published by |
28 |
|
#include <stdlib.h> |
29 |
|
#include <assert.h> |
30 |
|
#include <ctype.h> |
31 |
– |
|
32 |
– |
#ifndef __PSXOS__ |
31 |
|
#include <errno.h> |
32 |
|
#include <signal.h> |
35 |
– |
#endif |
33 |
|
|
34 |
|
#ifdef HAVE_SYS_TYPES_H |
35 |
|
#include <sys/types.h> |
92 |
|
# if HAVE_SYS_TIME_H |
93 |
|
# include <sys/time.h> |
94 |
|
# else |
98 |
– |
#ifndef __PSXOS__ |
95 |
|
# include <time.h> |
100 |
– |
#endif |
96 |
|
# endif |
97 |
|
#endif |
98 |
|
|
111 |
|
# endif |
112 |
|
#endif |
113 |
|
|
119 |
– |
#ifndef __PSXOS__ |
120 |
– |
#include <errno.h> |
121 |
– |
#endif |
114 |
|
#include <assert.h> |
115 |
|
|
116 |
|
#if EEXIST == ENOTEMPTY |
186 |
|
#else |
187 |
|
#error No 4 byte type, you lose. |
188 |
|
#endif |
189 |
+ |
#include <support/SupportDefs.h> |
190 |
|
#endif // __BEOS__ |
191 |
|
|
199 |
– |
#define UNUSED(x) (x = x) |
192 |
|
} |