From: gianluca Date: Thu, 13 Sep 2007 18:46:52 +0000 (+0000) Subject: Fixed a compilation problem: getnameinfo() was not linked. X-Git-Tag: tcpdump-3.9.8~5 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/7468163259a02f0db763aea5b94f0a536075675e Fixed a compilation problem: getnameinfo() was not linked. --- diff --git a/win32/prj/GNUmakefile b/win32/prj/GNUmakefile index ef4fe8f2..b2ed0bb6 100644 --- a/win32/prj/GNUmakefile +++ b/win32/prj/GNUmakefile @@ -24,6 +24,7 @@ CFLAGS = -I ${PCAP_DIR}/wpcap/libpcap/bpf \ -DSIZEOF_CHAR=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 \ -DSIZEOF_LONG_LONG=8 \ -D_U_="__attribute__((unused))" \ + -D_WIN32_WINNT=0x0501 \ -mno-cygwin ${OPTFLAGS} LDFLAGS = LIBS = -L ${PCAP_DIR}/WPCAP/LIB -lwpcap -lws2_32