diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2022-12-31 10:44:53 +0000 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2022-12-31 10:44:53 +0000 |
| commit | 90bdcbe130dbbc9985a7a8477628a4e3532e45f0 (patch) | |
| tree | 1b751234609ae587e93078af8f43673d7960a048 /upnp.c | |
| parent | ebc845ec8c8ed630f77205fbad9a19174e93785a (diff) | |
6.0.23.3423.36
Diffstat (limited to 'upnp.c')
| -rw-r--r-- | upnp.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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);
|
