projects
/
feed
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #840 from cjkoenig/update_liburcu
[feed/packages.git]
/
net
/
coova-chilli
/
patches
/
100-fix-sysinfo-redeclaration.patch
1
--- a/src/system.h
2
+++ b/src/system.h
3
@@ -83,10 +83,6 @@
4
#include <linux/sysinfo.h>
5
#endif
6
7
-#ifdef HAVE_SYS_SYSINFO_H
8
-#include <sys/sysinfo.h>
9
-#endif
10
-
11
#ifdef HAVE_TIME_H
12
#include <time.h>
13
#endif
14
@@ -139,6 +135,10 @@
15
#include <linux/un.h>
16
#endif
17
18
+#ifdef HAVE_SYS_SYSINFO_H
19
+#include <sys/sysinfo.h>
20
+#endif
21
+
22
#elif defined (__FreeBSD__) || defined (__APPLE__) || defined (__OpenBSD__) || defined (__NetBSD__)
23
#include <net/if.h>
24
#include <net/bpf.h>