aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2022-02-02 19:50:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-02-02 19:50:13 +0000
commitce784bc8129a45e7212fe0798f6081ad64d26f20 (patch)
treefbf9ae2364b26a3edb0cb18d1e86672a41f3d243
parent6b846b3d5a0e5290fd25f3c6e7e622bc940e6f36 (diff)
parent4fc781717e0964d30eacb76a7d5398617ee14120 (diff)
downloadlibpcap-ce784bc8129a45e7212fe0798f6081ad64d26f20.tar.gz
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index aa23c6a6..8f733076 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 */