diff --git a/Makefile b/Makefile index add9945..7f9d55e 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ BINPATH = ${PREFIX}/bin WINCC = i386-mingw32-gcc WINCFLAGS += $(CFLAGS) -WINLDFLAGS += $(LDFLAGS) -lws2_32 -s +WINLDFLAGS += $(LDFLAGS) -lws2_32 -liphlpapi -s # Targets diff --git a/VERSION b/VERSION index d3827e7..9459d4b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0 +1.1 diff --git a/netutil.h b/netutil.h index c8eeda5..0aa17c7 100644 --- a/netutil.h +++ b/netutil.h @@ -11,6 +11,7 @@ # define socklen_t int # define in_addr_t uint32_t # define in_port_t uint16_t +# include # include # define USE_IPHLPAPI 1 #else diff --git a/version.h b/version.h index 24f29ac..c38baa6 100644 --- a/version.h +++ b/version.h @@ -1,2 +1,2 @@ /* This file was automatically generated. */ -#define VERSION "1.0 (2009-01-21)" +#define VERSION "1.1 (2009-04-17)"