Fix compilation of natpmp-helper on non-windows

Fixes a small oversight in 5dbfb1b3e0.
This commit is contained in:
Sebastian Hahn 2011-12-10 03:25:40 +01:00
parent b7519dce98
commit e4cebb76c5
2 changed files with 7 additions and 0 deletions

4
changes/bug4691 Normal file
View File

@ -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.

View 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>