chiark / gitweb /
Initial push
[termux-packages] / ndk_patches / route.h.patch
1 Fix problem where <linux/route.h> needed <sys/socket.h> to compile.
2
3 diff -u -r /Users/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/linux/route.h ./usr/include/linux/route.h
4 --- /Users/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/linux/route.h     2014-10-15 04:53:49.000000000 +0200
5 +++ ./usr/include/linux/route.h 2014-12-14 20:10:13.000000000 +0100
6 @@ -18,6 +18,7 @@
7   ****************************************************************************/
8  #ifndef _LINUX_ROUTE_H
9  #define _LINUX_ROUTE_H
10 +#include <sys/socket.h> /* for struct sockaddr */
11  #include <linux/if.h>
12  #include <linux/compiler.h>
13  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */