author | Tellen 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) |
commit | 2720a402cea4de9836e4f46ef6f10033b57dc212 (patch) | |
tree | dacd7570c884069e86904480275b939c047745ef | |
parent | f307ba7f594110b0a41533f428b0bbb303394068 (diff) | |
download | pppoe-2720a402cea4de9836e4f46ef6f10033b57dc212.zip pppoe-2720a402cea4de9836e4f46ef6f10033b57dc212.tar.gz pppoe-2720a402cea4de9836e4f46ef6f10033b57dc212.tar.bz2 |
64bit compatibility
Change-Id: I77df3852f5c57606ee83e07e14f10ac6d729be03
-rw-r--r--[-rwxr-xr-x] | jni/src/pppoe.c | 3 |
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) |