Explorar el Código

Include compat.h from natpmp-helper to fix build

This means tor_socket_t is declared.
Sebastian Hahn hace 12 años
padre
commit
19b4df0d46
Se han modificado 2 ficheros con 7 adiciones y 0 borrados
  1. 5 0
      changes/bug4955
  2. 2 0
      src/tools/tor-fw-helper/tor-fw-helper-natpmp.c

+ 5 - 0
changes/bug4955

@@ -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!
+

+ 2 - 0
src/tools/tor-fw-helper/tor-fw-helper-natpmp.c

@@ -23,6 +23,8 @@
 // debugging stuff
 #include <assert.h>
 
+#include "compat.h"
+
 #include "tor-fw-helper.h"
 #include "tor-fw-helper-natpmp.h"