UPNP pinholing: add missing sys/types.h include

sys/types.h is necessary to declare u_int64_t for some c libraries, so include it.

Signed-off-by: Steven Barth <cyrus@openwrt.org>
This commit is contained in:
sbyx 2014-10-21 10:58:49 +02:00 committed by Thomas Bernard
parent 47b77fabb6
commit 4cbcdc34d2
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
#define IPTPINHOLE_H_INCLUDED #define IPTPINHOLE_H_INCLUDED
#ifdef ENABLE_UPNPPINHOLE #ifdef ENABLE_UPNPPINHOLE
#include <sys/types.h>
int add_pinhole(const char * ifname, int add_pinhole(const char * ifname,
const char * rem_host, unsigned short rem_port, const char * rem_host, unsigned short rem_port,