aboutsummaryrefslogtreecommitdiff
path: root/net/coova-chilli/patches
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-11-30 01:13:43 +0100
committerImre Kaloz <kaloz@openwrt.org>2014-11-30 01:13:43 +0100
commit34b96ab26e0a027d19e78f3a362c625288110ad4 (patch)
tree62c3a70fd3df52cacafbeff5486eb07983d45267 /net/coova-chilli/patches
parent796a524509b37cd15dc62fc6f23f86a933d67f36 (diff)
coova-chilli: move to github
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Diffstat (limited to 'net/coova-chilli/patches')
-rw-r--r--net/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch b/net/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch
new file mode 100644
index 000000000..2efecbe23
--- /dev/null
+++ b/net/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch
@@ -0,0 +1,24 @@
+--- a/src/system.h
++++ b/src/system.h
+@@ -83,10 +83,6 @@
+ #include <linux/sysinfo.h>
+ #endif
+
+-#ifdef HAVE_SYS_SYSINFO_H
+-#include <sys/sysinfo.h>
+-#endif
+-
+ #ifdef HAVE_TIME_H
+ #include <time.h>
+ #endif
+@@ -139,6 +135,10 @@
+ #include <linux/un.h>
+ #endif
+
++#ifdef HAVE_SYS_SYSINFO_H
++#include <sys/sysinfo.h>
++#endif
++
+ #elif defined (__FreeBSD__) || defined (__APPLE__) || defined (__OpenBSD__) || defined (__NetBSD__)
+ #include <net/if.h>
+ #include <net/bpf.h>