Support duo4k.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / ppp / files / ppp_compile_error.patch
diff --git a/meta-openvuplus/recipes-connectivity/ppp/files/ppp_compile_error.patch b/meta-openvuplus/recipes-connectivity/ppp/files/ppp_compile_error.patch
new file mode 100644 (file)
index 0000000..2f6933f
--- /dev/null
@@ -0,0 +1,22 @@
+diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h
+index 9ab2eee..b827620 100644
+--- a/pppd/plugins/rp-pppoe/pppoe.h
++++ b/pppd/plugins/rp-pppoe/pppoe.h
+@@ -47,6 +47,8 @@
+ #include <sys/socket.h>
+ #endif
++#include <netinet/in.h>
++
+ /* Ugly header files on some Linux boxes... */
+ #if defined(HAVE_LINUX_IF_H)
+ #include <linux/if.h>
+@@ -84,8 +86,6 @@ typedef unsigned long UINT32_t;
+ #include <linux/if_ether.h>
+ #endif
+-#include <netinet/in.h>
+-
+ #ifdef HAVE_NETINET_IF_ETHER_H
+ #include <sys/types.h>