diff options
-rw-r--r-- | README.android | 4 | ||||
-rw-r--r-- | include/event2/event-config.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/README.android b/README.android index 98eb0d5..d9a4fa4 100644 --- a/README.android +++ b/README.android @@ -29,7 +29,7 @@ NDK_ROOT="${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm64/u CFLAGS="-nostdlib -Wl,-rpath-link=${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib -L${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib - -I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" - LIBS="-lc " + -I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" \ + LIBS="-lc " Note that I built hammerhead first and used prebuilts from the most recent NDK. diff --git a/include/event2/event-config.h b/include/event2/event-config.h index aff1a94..7aff2cd 100644 --- a/include/event2/event-config.h +++ b/include/event2/event-config.h @@ -99,7 +99,7 @@ #define _EVENT_HAVE_GETEUID 1 /* Define this if you have any gethostbyname_r() */ -/* #undef _EVENT_HAVE_GETHOSTBYNAME_R */ +#define _EVENT_HAVE_GETHOSTBYNAME_R 1 /* Define this if gethostbyname_r takes 3 arguments */ /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_3_ARG */ @@ -108,7 +108,7 @@ /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_5_ARG */ /* Define this if gethostbyname_r takes 6 arguments */ -/* #undef _EVENT_HAVE_GETHOSTBYNAME_R_6_ARG */ +#define _EVENT_HAVE_GETHOSTBYNAME_R_6_ARG 1 /* Define to 1 if you have the `getnameinfo' function. */ #define _EVENT_HAVE_GETNAMEINFO 1 |