| 1 | /* System-dependent stuff, for Linux systems. Known to be good for |
| 2 | Linux/Alpha, but should work for all other platforms, too. */ |
| 3 | |
| 4 | /* |
| 5 | * This is important on Linux/Alpha where sizeof(void*) != sizeof(int). |
| 6 | */ |
| 7 | #define HAVE_VARARGS_H |
| 8 | |
| 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 |
| 19 | |
| 20 | #include <sys/types.h> /* Needed by dirent.h */ |
| 21 | #include <string.h> |
| 22 | |
| 23 | #include <dirent.h> |
| 24 | typedef struct dirent dirent; |