]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Include compat.h from natpmp-helper to fix build
authorSebastian Hahn <sebastian@torproject.org>
Tue, 14 Feb 2012 20:53:50 +0000 (21:53 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Tue, 14 Feb 2012 22:36:39 +0000 (23:36 +0100)
This means tor_socket_t is declared.

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

diff --git a/changes/bug4955 b/changes/bug4955
new file mode 100644 (file)
index 0000000..60896ae
--- /dev/null
@@ -0,0 +1,5 @@
+  o Major bugfixes:
+    - Fix the build when built with nat-pmp support. Fixes bug 4955;
+      bugfix on 0.2.3.11-alpha. Reported by Anthony G. Basile
+      <blueness@gentoo.org>, thanks!
+
index ed79fd25210249cfd0b7d0f30f47b1c5b6332bf9..eb739db7fc5b9f386c04a9802c3a2746a521e94f 100644 (file)
@@ -23,6 +23,8 @@
 // debugging stuff
 #include <assert.h>
 
+#include "compat.h"
+
 #include "tor-fw-helper.h"
 #include "tor-fw-helper-natpmp.h"