aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h3
-rw-r--r--include/platform.h5
2 files changed, 5 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index c4734e86d..5e1d1fc5b 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -144,9 +144,6 @@
144#elif defined __APPLE__ 144#elif defined __APPLE__
145# include <netinet/in.h> 145# include <netinet/in.h>
146#elif ENABLE_PLATFORM_MINGW32 146#elif ENABLE_PLATFORM_MINGW32
147# ifndef WINVER
148# define WINVER 0x0501
149# endif
150# include <winsock2.h> 147# include <winsock2.h>
151# include <ws2tcpip.h> 148# include <ws2tcpip.h>
152#else 149#else
diff --git a/include/platform.h b/include/platform.h
index ea97d2682..0fc270fab 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -10,6 +10,11 @@
10#if ENABLE_PLATFORM_MINGW32 10#if ENABLE_PLATFORM_MINGW32
11# if !defined(__MINGW32__) /* HOSTCC is called */ 11# if !defined(__MINGW32__) /* HOSTCC is called */
12# undef ENABLE_PLATFORM_MINGW32 12# undef ENABLE_PLATFORM_MINGW32
13# else
14# undef __USE_MINGW_ANSI_STDIO
15# define __USE_MINGW_ANSI_STDIO 0
16# undef _WIN32_WINNT
17# define _WIN32_WINNT 0x502
13# endif 18# endif
14#else 19#else
15# if defined(__MINGW32__) 20# if defined(__MINGW32__)