aboutsummaryrefslogtreecommitdiffstats
path: root/main/coova-chilli/system.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/coova-chilli/system.patch')
-rw-r--r--main/coova-chilli/system.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/main/coova-chilli/system.patch b/main/coova-chilli/system.patch
deleted file mode 100644
index 17d3ba3bb7..0000000000
--- a/main/coova-chilli/system.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff --git a/src/system.h b/src/system.h
-index 6ddf98c..3efef6a 100644
---- a/src/system.h
-+++ b/src/system.h
-@@ -117,27 +117,6 @@
- #include <inttypes.h>
- #endif
-
--#if defined(__linux__)
--#include <asm/types.h>
--#include <linux/if.h>
--#include <linux/if_packet.h>
--#include <linux/if_ether.h>
--#include <linux/if_tun.h>
--#include <linux/netlink.h>
--#include <linux/rtnetlink.h>
--#ifndef HAVE_SYS_UN_H
--#include <linux/un.h>
--#endif
--
--#ifdef HAVE_SYS_SYSINFO_H
--#include <sys/sysinfo.h>
--#else
--#ifdef HAVE_LINUX_SYSINFO_H
--#define _LINUX_KERNEL_H
--#include <linux/sysinfo.h>
--#endif
--#endif
--
- #elif defined (__FreeBSD__) || defined (__APPLE__) || defined (__OpenBSD__) || defined (__NetBSD__)
- #include <net/if.h>
- #include <net/bpf.h>
-@@ -244,6 +223,27 @@
- #include <unistd.h>
- #include <errno.h>
-
-+#if defined(__linux__)
-+#include <asm/types.h>
-+#include <linux/if.h>
-+#include <linux/if_packet.h>
-+#include <linux/if_ether.h>
-+#include <linux/if_tun.h>
-+#include <linux/netlink.h>
-+#include <linux/rtnetlink.h>
-+#ifndef HAVE_SYS_UN_H
-+#include <linux/un.h>
-+#endif
-+
-+#ifdef HAVE_SYS_SYSINFO_H
-+#include <sys/sysinfo.h>
-+#else
-+#ifdef HAVE_LINUX_SYSINFO_H
-+#define _LINUX_KERNEL_H
-+#include <linux/sysinfo.h>
-+#endif
-+#endif
-+
- int safe_accept(int fd, struct sockaddr *sa, socklen_t *lenptr);
- int safe_select(int nfds, fd_set *readfds, fd_set *writefds,
- fd_set *exceptfds, struct timeval *timeout);