summaryrefslogtreecommitdiff
path: root/Makefile.dj
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-14 12:01:44 +0000
committerYang Tse <yangsita@gmail.com>2006-10-14 12:01:44 +0000
commit69dcc701cfed2561f39a34e7ffa171b355281b88 (patch)
treec9458ce470c500b5225c20f3b19e223a66871951 /Makefile.dj
parent8df5b67ab0c2b841c9aa6266c311a221a0c907d4 (diff)
downloadc-ares-69dcc701cfed2561f39a34e7ffa171b355281b88.tar.gz
c-ares-69dcc701cfed2561f39a34e7ffa171b355281b88.tar.bz2
c-ares-69dcc701cfed2561f39a34e7ffa171b355281b88.zip
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
Diffstat (limited to 'Makefile.dj')
-rw-r--r--Makefile.dj2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.dj b/Makefile.dj
index bba45eb..0524bd6 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