Support duo4k.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / ppp / files / ppp_compile_error.patch
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
8  
9 +#include <netinet/in.h>
10 +
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
17  
18 -#include <netinet/in.h>
19 -
20  #ifdef HAVE_NETINET_IF_ETHER_H
21  #include <sys/types.h>
22