summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c b/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c
index e61c1cd..a92c009 100644
--- a/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c
+++ b/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c
@@ -22,7 +22,12 @@
#include <ws2tcpip.h>
#include <io.h>
#include <winsock.h>
+#if _MSC_VER >= 1600
#include <stdint.h>
+#else
+typedef __int16 int16_t;
+typedef unsigned __int16 uint16_t;
+#endif
#endif
#if defined(__amigaos__) || defined(__amigaos4__)
#include <sys/socket.h>