1 diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/dlfcn.h ./usr/include/dlfcn.h
2 --- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/dlfcn.h 2016-03-03 16:54:24.000000000 -0500
3 +++ ./usr/include/dlfcn.h 2016-04-17 23:55:55.901040258 -0400
5 extern void* dlsym(void* handle, const char* symbol);
6 extern int dladdr(const void* addr, Dl_info *info);
9 +/* Termux modification: Use #define for these instead of an enum
10 + to improve compatibility with ifdef checks. */
22 +# define RTLD_LOCAL 0
24 - RTLD_GLOBAL = 0x00100,
25 +# define RTLD_GLOBAL 0x00100
28 +# define RTLD_GLOBAL 2
32 +#define RTLD_NOLOAD 4
34 #if defined (__LP64__)
35 #define RTLD_DEFAULT ((void*) 0)