00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __AW_LINUX_SYS__
00023 #define __AW_LINUX_SYS__
00024
00025
00032
00033 #ifndef __linux__
00034 # define __linux__
00035 #endif
00036
00037
00038 #include <errno.h>
00039
00040 #include <assert.h>
00041
00042 #include <stdlib.h>
00043 #include <stdio.h>
00044
00045 #include <fcntl.h>
00046
00047 #include <signal.h>
00048
00049 #include <string.h>
00050
00051 #include <time.h>
00052
00053 #include <unistd.h>
00054
00055 #include <semaphore.h>
00056 #include <sched.h>
00057
00058 #include <sys/types.h>
00059 #include <sys/user.h>
00060 #include <sys/param.h>
00061 #include <sys/stat.h>
00062 #include <sys/mman.h>
00063 #include <sys/file.h>
00064 #include <sys/ioctl.h>
00065 #include <sys/wait.h>
00066
00067
00068 #include <sys/sendfile.h>
00069
00070
00071 #if ! (defined(LITTLE_ENDIAN) || defined(BIG_ENDIAN))
00072 # include <endian.h>
00073 #endif
00074
00075 #if ! (defined(LITTLE_ENDIAN) || defined(BIG_ENDIAN))
00076 # error "cpp vars LITTLE_ENDIAN and BIG_ENDIAN not defined!"
00077 #endif
00078
00079
00080 #endif