00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef INC_SPF_SYS_CONFIG
00020 #define INC_SPF_SYS_CONFIG
00021
00022 #include "spf_win32_internal.h"
00023
00024 #ifdef HAVE_CONFIG_H
00025 # include "config.h"
00026 #endif
00027
00028 #ifdef HAVE_SYS_TYPES_H
00029 #include <sys/types.h>
00030 #endif
00031
00032 #ifdef HAVE_SYS_SOCKET_H
00033 # include <sys/socket.h>
00034 #endif
00035 #ifdef HAVE_NETINET_IN_H
00036 # include <netinet/in.h>
00037 #endif
00038 #ifdef HAVE_ARPA_NAMESER_H
00039 # ifdef HAVE_NS_TYPE
00040 # include <arpa/nameser.h>
00041 # else
00042
00043 # define HAVE_BIND8
00044 # include "../libreplace/arpa_nameser.h"
00045 # define HAVE_NS_TYPE 1
00046 # endif
00047 #endif
00048 #ifdef HAVE_ARPA_INET_H
00049 # include <arpa/inet.h>
00050 #endif
00051
00052 #ifndef HAVE_U_INT8_T
00053 # ifdef HAVE_UINT8_T
00054 typedef uint8_t u_int8_t;
00055 # else
00056 typedef unsigned char u_int8_t;
00057 # endif
00058 #endif
00059
00060 #ifndef HAVE_U_INT16_T
00061 # ifdef HAVE_UINT16_T
00062 typedef uint16_t u_int16_t;
00063 # else
00064 typedef unsigned short u_int16_t;
00065 # endif
00066 #endif
00067
00068 #ifndef HAVE_U_INT32_T
00069 # ifdef HAVE_UINT32_T
00070 typedef uint32_t u_int32_t;
00071 # else
00072 typedef unsigned int u_int32_t;
00073 # endif
00074 #endif
00075
00076 #endif