From: Sebastian Hahn Date: Sat, 10 Dec 2011 02:25:40 +0000 (+0100) Subject: Fix compilation of natpmp-helper on non-windows X-Git-Tag: tor-0.2.3.10-alpha~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4cebb76c5577b1a39b752cc694147e929662c4a;p=thirdparty%2Ftor.git Fix compilation of natpmp-helper on non-windows Fixes a small oversight in 5dbfb1b3e0efc95be34ba7d69852511c9bac1f4b. --- diff --git a/changes/bug4691 b/changes/bug4691 new file mode 100644 index 0000000000..124b8f8ab9 --- /dev/null +++ b/changes/bug4691 @@ -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. + 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 aaa685e1ee..2380b141df 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 #include #include +#ifndef MS_WINDOWS +#include +#endif // debugging stuff #include