aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libbb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index fdd920f3c..5fa62da3a 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -74,7 +74,9 @@
74#elif defined __APPLE__ 74#elif defined __APPLE__
75# include <netinet/in.h> 75# include <netinet/in.h>
76#elif ENABLE_PLATFORM_MINGW32 76#elif ENABLE_PLATFORM_MINGW32
77# define WINVER 0x0501 77# ifndef WINVER
78# define WINVER 0x0501
79# endif
78# include <winsock2.h> 80# include <winsock2.h>
79# include <ws2tcpip.h> 81# include <ws2tcpip.h>
80# undef s_addr 82# undef s_addr