1 #ifndef SYSDEP_H 2 #define SYSDEP_H 3 4 #include <assert.h> 5 #include <stdio.h> 6 #include <string.h> 7 #include <stdlib.h> 8 #include <signal.h> 9 #include <errno.h> 10 #include <sys/types.h> 11 #ifdef NEED_TIME_H 12 #include <time.h> 13 #endif 14 #include <sys/time.h> 15 #include <sys/stat.h> 16 #include <sys/wait.h> 17 #ifdef NEED_SYS_SELECT_H 18 #include <sys/select.h> 19 #endif 20 #include <limits.h> 21 #include <unistd.h> 22 #include <stdarg.h> 23 #include <fcntl.h> 24 25 #ifdef CONFIG_I18N 26 #include <locale.h> 27 #include <langinfo.h> 28 #endif 29 30 #ifndef O_TEXT 31 #define O_TEXT 0 32 #endif 33 #ifndef O_BINARY 34 #define O_BINARY 0 35 #endif 36 #ifndef HOST_NAME_MAX 37 # define HOST_NAME_MAX 64 38 #endif 39 #ifndef PATH_MAX 40 # define PATH_MAX 1024 41 #endif 42 43 #endif 44 45 // vim: set sw=4 ts=4 et: 46