diff options
author | Jim Huang <jserv@0xlab.org> | 2010-09-26 10:00:25 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-26 10:00:25 -0700 |
commit | 2b3431e2762434dff96ff279069e3796ef2d4333 (patch) | |
tree | f5cd0c578d762ee01da113a08a68c84efdb6f03b | |
parent | fc2dc55c510657073ef4235658167a878e82cefa (diff) | |
parent | 3b923003c7c5a13b4ff2e2091acd307e9d1304b2 (diff) | |
download | netcat-2b3431e2762434dff96ff279069e3796ef2d4333.tar.gz |
am 3b923003: Avoid calling res_init() since it\'s a private API in bionicandroid-sdk-tools_r12android-sdk-adt_r12
Merge commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2' into gingerbread-plus-aosp
* commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2':
Avoid calling res_init() since it's a private API in bionic
-rw-r--r-- | netcat.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,7 +33,9 @@ #if 0 #undef _POSIX_SOURCE /* might need this for something? */ #endif +#if !defined(ANDROID) #define HAVE_BIND /* ASSUMPTION -- seems to work everywhere! */ +#endif #define HAVE_HELP /* undefine if you dont want the help text */ #if 0 #define ANAL /* if you want case-sensitive DNS matching */ |