pppd: Fix pppol2tp-android.so build am: da34949ce3 am: 655d7a63cb am: 819f6c1e0d
am: cfa7ce5041

Change-Id: I2463ebf02e996fa86dddb98a454c496f24d1e208
diff --git a/pppd/include/net/ppp_defs.h b/pppd/include/net/ppp_defs.h
index a21afdb..9522290 100644
--- a/pppd/include/net/ppp_defs.h
+++ b/pppd/include/net/ppp_defs.h
@@ -38,6 +38,10 @@
 #ifndef _PPP_DEFS_H_
 #define _PPP_DEFS_H_
 
+#if defined(__linux__)
+#include <linux/ppp_defs.h>
+#endif
+
 #if defined(PPP_ADDRESS)
 #define USING_UAPI
 #endif
@@ -131,6 +135,10 @@
  * What to do with network protocol (NP) packets.
  */
 #if defined(USING_UAPI)
+
+/* For struct ifreq */
+#include <net/if.h>
+
 /* This stuff isn't in uapi. TODO: is there a newer pppd that doesn't use this? */
 #define ifr__name b.ifr_ifrn.ifrn_name
 #define stats_ptr b.ifr_ifru.ifru_data