[packages] linuxigd: fix compilation (how could this ever work?)
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 09:37:01 +0000 (09:37 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 09:37:01 +0000 (09:37 +0000)
SVN-Revision: 24598

net/linuxigd/patches/005-includes.patch [new file with mode: 0644]

diff --git a/net/linuxigd/patches/005-includes.patch b/net/linuxigd/patches/005-includes.patch
new file mode 100644 (file)
index 0000000..586f650
--- /dev/null
@@ -0,0 +1,30 @@
+--- a/gatedevice.c
++++ b/gatedevice.c
+@@ -1,5 +1,6 @@
+ #include <syslog.h>
+ #include <stdlib.h>
++#include <stdio.h>
+ #include <upnp/ixml.h>
+ #include <string.h>
+ #include <time.h>
+--- a/main.c
++++ b/main.c
+@@ -10,6 +10,7 @@
+ #include <time.h>
+ #include <net/if.h>
+ #include <upnp/upnp.h>
++#include <string.h>
+ #include "globals.h"
+ #include "config.h"
+ #include "gatedevice.h"
+--- a/pmlist.c
++++ b/pmlist.c
+@@ -2,6 +2,8 @@
+ #include <sys/wait.h>
+ #include <unistd.h>
+ #include <upnp/upnp.h>
++#include <stdio.h>
++#include <string.h>
+ #include "globals.h"
+ #include "config.h"
+ #include "pmlist.h"