am 3b923003: Avoid calling res_init() since it\'s a private API in bionic
Merge commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2' into gingerbread-plus-aosp
* commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2':
Avoid calling res_init() since it's a private API in bionic
diff --git a/netcat.c b/netcat.c
index 16a58a5..722416e 100644
--- a/netcat.c
+++ b/netcat.c
@@ -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 */