From 49be8b8c593ceb740fdaebdea3f15f2112d1cd1d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 22 Mar 2015 01:40:58 +0100 Subject: tuntap: fix compilation for Android --- src/tuntap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tuntap.c') diff --git a/src/tuntap.c b/src/tuntap.c index e9e0cb4..591f8d4 100644 --- a/src/tuntap.c +++ b/src/tuntap.c @@ -132,7 +132,7 @@ void fastd_tuntap_open(void) { } pr_debug("using android TUN fd"); - ctx.tunfd = FASTD_POLL_FD(POLL_TYPE_IFACE(fastd_android_receive_tunfd())); + ctx.tunfd = FASTD_POLL_FD(POLL_TYPE_IFACE, fastd_android_receive_tunfd()); fastd_android_send_pid(); -- cgit v1.2.3