diff --git a/Makefile.dj b/Makefile.dj index bba45eb6..0524bd62 100644 --- a/Makefile.dj +++ b/Makefile.dj @@ -13,6 +13,8 @@ CFLAGS = -O2 -Wall -DWATT32 -Dselect=select_s -DHAVE_AF_INET6 \ -DHAVE_PF_INET6 -DHAVE_IOCTLSOCKET -DHAVE_STRUCT_IN6_ADDR \ -DHAVE_STRUCT_SOCKADDR_IN6 -DHAVE_STRUCT_ADDRINFO \ -DHAVE_ARPA_NAMESER_H -DNS_INADDRSZ=4 \ + -DHAVE_SYS_TIME_H -DHAVE_TIME_H \ + -DTIME_WITH_SYS_TIME -DHAVE_STRUCT_TIMEVAL \ -DHAVE_SOCKADDR_IN6_SIN6_SCOPE_ID -I$(WATT32_ROOT)/inc LDFLAGS = -s diff --git a/Makefile.netware b/Makefile.netware index 78e6930e..b20497f9 100644 --- a/Makefile.netware +++ b/Makefile.netware @@ -316,9 +316,10 @@ config.h: Makefile.netware @echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@ @echo $(DL)#define HAVE_AF_INET6 1$(DL) >> $@ @echo $(DL)#define HAVE_PF_INET6 1$(DL) >> $@ + @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@ @echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@ @echo $(DL)#define HAVE_STRUCT_SOCKADDR_IN6 1$(DL) >> $@ - @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@ + @echo $(DL)#define HAVE_STRUCT_TIMEVAL 1$(DL) >> $@ @echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@ @echo $(DL)#define SIZEOF_STRUCT_IN_ADDR 4$(DL) >> $@ ifdef NW_WINSOCK diff --git a/config-win32.h b/config-win32.h index 8e68f982..0cd626ff 100644 --- a/config-win32.h +++ b/config-win32.h @@ -29,6 +29,12 @@ #define HAVE_GETOPT_H 1 #endif +/* Define if you have the header file */ +/* #define HAVE_SYS_TIME_H 1 */ + +/* Define if you have the header file. */ +#define HAVE_TIME_H 1 + /* Define if you have the header file. */ #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__) || \ defined(__POCC__) @@ -47,6 +53,16 @@ /* Define if you have the header file. */ #define HAVE_WS2TCPIP_H 1 +/* ---------------------------------------------------------------- */ +/* OTHER HEADER INFO */ +/* ---------------------------------------------------------------- */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +/* #define TIME_WITH_SYS_TIME 1 */ + /* ---------------------------------------------------------------- */ /* FUNCTIONS */ /* ---------------------------------------------------------------- */ @@ -121,6 +137,9 @@ /* Define this if you have struct sockaddr_storage */ #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +/* Define this if you have struct timeval */ +#define HAVE_STRUCT_TIMEVAL 1 + /* ---------------------------------------------------------------- */ /* IPV6 COMPATIBILITY */ /* ---------------------------------------------------------------- */