summaryrefslogtreecommitdiff
path: root/upnp.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2022-12-31 10:44:53 +0000
committerJohn Wiseman <john.wiseman@cantab.net>2022-12-31 10:44:53 +0000
commit90bdcbe130dbbc9985a7a8477628a4e3532e45f0 (patch)
tree1b751234609ae587e93078af8f43673d7960a048 /upnp.c
parentebc845ec8c8ed630f77205fbad9a19174e93785a (diff)
6.0.23.3423.36
Diffstat (limited to 'upnp.c')
-rw-r--r--upnp.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/upnp.c b/upnp.c
index dcbd2a1..cdc68a4 100644
--- a/upnp.c
+++ b/upnp.c
@@ -33,12 +33,17 @@ POSSIBILITY OF SUCH DAMAGE.
#define MINIUPNP_STATICLIB
+#include <stdio.h>
+#ifdef _WIN32
#include "upnpcommands.h"
#include "miniupnpc.h"
#include "upnperrors.h"
-#include <stdio.h>
-#ifdef _WIN32
#include <winsock2.h>
+#else
+#include <miniupnpc/upnpcommands.h>
+#include <miniupnpc/miniupnpc.h>
+#include <miniupnpc/upnperrors.h>
+#include <stdio.h>
#endif
int AddMap(char * controlURL, char * eport, char * iport, char * proto);