aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-fw-helper/tor-fw-helper-natpmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c b/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c
index aaa685e1e..2380b141d 100644
--- a/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c
+++ b/src/tools/tor-fw-helper/tor-fw-helper-natpmp.c
@@ -16,6 +16,9 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
+#ifndef MS_WINDOWS
+#include <arpa/inet.h>
+#endif
// debugging stuff
#include <assert.h>