- fixed build for vc++ using new miniupnpc 1.7

This commit is contained in:
Mark Vejvoda 2012-12-27 19:22:16 +00:00
parent 4c94cedb85
commit b98effd5f4

View File

@ -9,7 +9,9 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifndef _WIN32
#include <unistd.h>
#endif
#include <sys/types.h>
#if defined(_WIN32) || defined(__amigaos__) || defined(__amigaos4__)
#ifdef _WIN32
@ -18,6 +20,8 @@
#include <io.h>
#include <winsock.h>
#include <stdint.h>
typedef SSIZE_T ssize_t;
#endif
#if defined(__amigaos__) || defined(__amigaos4__)
#include <sys/socket.h>