* test case for PR 18230, over from d30v branch
[binutils-gdb.git] / readline / sysdep-linux.h
blob46ea5d49a947250bf1a9dcb5b8aca6f0ece3135b
1 /* System-dependent stuff, for Linux systems. Known to be good for
2 Linux/Alpha, but should work for all other platforms, too. */
4 /*
5 * This is important on Linux/Alpha where sizeof(void*) != sizeof(int).
6 */
7 #define HAVE_VARARGS_H
9 #ifdef __GNUC__
10 #define alloca __builtin_alloca
11 #else
12 #if defined (sparc) && defined (sun)
13 #include <alloca.h>
14 #endif
15 #ifndef alloca /* May be a macro, with args. */
16 extern char *alloca ();
17 #endif
18 #endif
20 #include <sys/types.h> /* Needed by dirent.h */
21 #include <string.h>
23 #include <dirent.h>
24 typedef struct dirent dirent;