]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compilation of natpmp-helper on non-windows
authorSebastian Hahn <sebastian@torproject.org>
Sat, 10 Dec 2011 02:25:40 +0000 (03:25 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Sat, 10 Dec 2011 02:25:40 +0000 (03:25 +0100)
Fixes a small oversight in 5dbfb1b3e0efc95be34ba7d69852511c9bac1f4b.

changes/bug4691 [new file with mode: 0644]
src/tools/tor-fw-helper/tor-fw-helper-natpmp.c

diff --git a/changes/bug4691 b/changes/bug4691
new file mode 100644 (file)
index 0000000..124b8f8
--- /dev/null
@@ -0,0 +1,4 @@
+  o Major bugfixes:
+    - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
+      0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
+
index aaa685e1ee49698c4759751621c84102dfe1b103..2380b141df3ddc5c0768ec62772f964c34d15172 100644 (file)
@@ -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>