From 56545bb25d07af11b12d2afddeb7e187aed8edbf Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 19 Sep 2014 16:10:12 +0200 Subject: [PATCH] android/pan: Fix compilation error with musl CC android/pan.o android/pan.c: In function 'bridge_if_down': android/pan.c:153:33: error: 'caddr_t' undeclared (first use in this function) err = ioctl(sk, SIOCSIFFLAGS, (caddr_t) &ifr); ^ android/pan.c:153:33: note: each undeclared identifier is reported only once for each function it appears in Makefile:5422: recipe for target 'android/pan.o' failed make[1]: *** [android/pan.o] Error 1 --- android/pan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/android/pan.c b/android/pan.c index d8572ccfd..6131890bd 100644 --- a/android/pan.c +++ b/android/pan.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include -- 2.47.3