patch 8.1.0319: bzero() function prototype doesn't work for Android
Problem: bzero() function prototype doesn't work for Android.
Solution: Add an #ifdef. (Elliott Hughes, closes #3365)
diff --git a/src/osdef1.h.in b/src/osdef1.h.in
index 5519104..825fe94 100644
--- a/src/osdef1.h.in
+++ b/src/osdef1.h.in
@@ -65,8 +65,10 @@
# endif
# endif
#endif
-/* used inside of FD_ZERO macro: */
+#ifndef __BIONIC__ // Android's libc #defines bzero to memset.
+// used inside of FD_ZERO macro
extern void bzero(void *, size_t);
+#endif
#ifdef HAVE_SETSID
extern pid_t setsid(void);
#endif