[packages] linuxigd: fix compilation (how could this ever work?)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24598 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
98c172c3dc
commit
24690377fb
30
net/linuxigd/patches/005-includes.patch
Normal file
30
net/linuxigd/patches/005-includes.patch
Normal file
@ -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"
|
Loading…
x
Reference in New Issue
Block a user