logrotate: enable selinux support
[buildroot-gz.git] / package / pppd / 0001-Move-netinet-in.h-above-linux-header-includes.patch
blob2f6933f5e543788cf92e8563f89c6533d5fd1985
1 diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h
2 index 9ab2eee..b827620 100644
3 --- a/pppd/plugins/rp-pppoe/pppoe.h
4 +++ b/pppd/plugins/rp-pppoe/pppoe.h
5 @@ -47,6 +47,8 @@
6 #include <sys/socket.h>
7 #endif
9 +#include <netinet/in.h>
11 /* Ugly header files on some Linux boxes... */
12 #if defined(HAVE_LINUX_IF_H)
13 #include <linux/if.h>
14 @@ -84,8 +86,6 @@ typedef unsigned long UINT32_t;
15 #include <linux/if_ether.h>
16 #endif
18 -#include <netinet/in.h>
20 #ifdef HAVE_NETINET_IF_ETHER_H
21 #include <sys/types.h>