summaryrefslogtreecommitdiff
authorTellen Yu <tellen.yu@amlogic.com>2016-10-09 10:52:03 (GMT)
committer Tellen Yu <tellen.yu@amlogic.com>2016-10-09 10:52:03 (GMT)
commit2720a402cea4de9836e4f46ef6f10033b57dc212 (patch)
treedacd7570c884069e86904480275b939c047745ef
parentf307ba7f594110b0a41533f428b0bbb303394068 (diff)
downloadpppoe-2720a402cea4de9836e4f46ef6f10033b57dc212.zip
pppoe-2720a402cea4de9836e4f46ef6f10033b57dc212.tar.gz
pppoe-2720a402cea4de9836e4f46ef6f10033b57dc212.tar.bz2
64bit compatibility
Change-Id: I77df3852f5c57606ee83e07e14f10ac6d729be03
Diffstat
-rw-r--r--[-rwxr-xr-x]jni/src/pppoe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/jni/src/pppoe.c b/jni/src/pppoe.c
index 7d27f86..39efba1 100755..100644
--- a/jni/src/pppoe.c
+++ b/jni/src/pppoe.c
@@ -73,6 +73,9 @@ static char const RCSID[] =
#include <linux/rtnetlink.h> //for ifinfomsg
#include <linux/netlink.h> //for nlmsghdr{}
+#include <sys/stat.h>
+#include <sys/file.h>
+
#define NL_POLL_MSG_SZ 8*1024
static int open_NETLINK_socket(int netlinkFamily, int groups)