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
diff --git a/src/version.c b/src/version.c
index 1afe230..0c3f87c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 319,
+/**/
318,
/**/
317,