[packages] linuxigd: fix compilation (how could this ever work?)
[openwrt/svn-archive/archive.git] / net / linuxigd / patches / 005-includes.patch
1 --- a/gatedevice.c
2 +++ b/gatedevice.c
3 @@ -1,5 +1,6 @@
4 #include <syslog.h>
5 #include <stdlib.h>
6 +#include <stdio.h>
7 #include <upnp/ixml.h>
8 #include <string.h>
9 #include <time.h>
10 --- a/main.c
11 +++ b/main.c
12 @@ -10,6 +10,7 @@
13 #include <time.h>
14 #include <net/if.h>
15 #include <upnp/upnp.h>
16 +#include <string.h>
17 #include "globals.h"
18 #include "config.h"
19 #include "gatedevice.h"
20 --- a/pmlist.c
21 +++ b/pmlist.c
22 @@ -2,6 +2,8 @@
23 #include <sys/wait.h>
24 #include <unistd.h>
25 #include <upnp/upnp.h>
26 +#include <stdio.h>
27 +#include <string.h>
28 #include "globals.h"
29 #include "config.h"
30 #include "pmlist.h"