Merge "Use posix strerror_r for musl" am: ce784bc812 am: 67b0f0fa5c am: 51daaf5c15 am: d3887f47f5

Original change: https://android-review.googlesource.com/c/platform/external/libpcap/+/1931454

Change-Id: I02f572e8dbe41daeb169b2393587a5b3ba49faf4
diff --git a/config.h b/config.h
index aa23c6a..8f73307 100644
--- a/config.h
+++ b/config.h
@@ -59,7 +59,9 @@
 /* #undef HAVE_GETSPNAM */
 
 /* Define to 1 if you have a GNU-style `strerror_r' function. */
-#define HAVE_GNU_STRERROR_R /**/
+#ifndef ANDROID_HOST_MUSL
+#define HAVE_GNU_STRERROR_R 1
+#endif
 
 /* on HP-UX 10.20 or later */
 /* #undef HAVE_HPUX10_20_OR_LATER */