packages/net/linuxigd/patches/005-includes.patch
jow 24690377fb [packages] linuxigd: fix compilation (how could this ever work?)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 09:37:01 +00:00

31 lines
596 B
Diff

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