diff options
author | Niranjan Pendharkar <npendhar@codeaurora.org> | 2013-02-08 14:09:13 -0800 |
---|---|---|
committer | Niranjan Pendharkar <npendhar@codeaurora.org> | 2013-02-08 14:34:44 -0800 |
commit | 8a5f846f83556370f8c69b8573ebd7ceb01653f7 (patch) | |
tree | 33a50a21940ba01cefbf41af94fcf7a9e04972a3 /libbridge/libbridge.h | |
parent | 1736fa987eb6b66b6eaedbc1cd3df4f48b873721 (diff) | |
download | android_external_brctl-8a5f846f83556370f8c69b8573ebd7ceb01653f7.tar.gz android_external_brctl-8a5f846f83556370f8c69b8573ebd7ceb01653f7.tar.bz2 android_external_brctl-8a5f846f83556370f8c69b8573ebd7ceb01653f7.zip |
brctl: Add Android makefiles to build on Android
This patch adds makefiles to build this open source tool
on Android. This patch also addresses some compatibilty
issues between GNU C and bionic C implementation.
Change-Id: Ic35ab4f98d5f252d53e92c6cde43f0673cef9d4a
Diffstat (limited to 'libbridge/libbridge.h')
-rw-r--r-- | libbridge/libbridge.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h index 39964f2..e7506e0 100644 --- a/libbridge/libbridge.h +++ b/libbridge/libbridge.h @@ -22,7 +22,9 @@ #include <sys/socket.h> #include <linux/if.h> #include <linux/if_bridge.h> - +#ifdef FEATURE_ANDROID +#include <sys/time.h> +#endif /* defined in net/if.h but that conflicts with linux/if.h... */ extern unsigned int if_nametoindex (const char *__ifname); extern char *if_indextoname (unsigned int __ifindex, char *__ifname); |