1diff --git a/config.h b/config.h 2index af199565..873627e0 100644 3--- a/config.h 4+++ b/config.h 5@@ -60,7 +60,9 @@ 6 #define HAVE_DECL_STRERROR_R 1 7 8 /* Define to 1 if you have the <error.h> header file. */ 9+#if defined(__BIONIC__) || defined(__GLIBC__) 10 #define HAVE_ERROR_H 1 11+#endif 12 13 /* Define to 1 if you have the <err.h> header file. */ 14 #define HAVE_ERR_H 1 15@@ -69,7 +71,7 @@ 16 #define HAVE_FALLTHROUGH 1 17 18 /* Defined if __attribute__((gcc_struct)) is supported */ 19-#define HAVE_GCC_STRUCT 1 20+/* #undef HAVE_GCC_STRUCT */ 21 22 /* Define to 1 if you have the `getrlimit' function. */ 23 #define HAVE_GETRLIMIT 1 24@@ -167,7 +169,9 @@ 25 #define STDC_HEADERS 1 26 27 /* Define to 1 if strerror_r returns char *. */ 28+#if defined(__GLIBC__) || defined(__BIONIC__) 29 #define STRERROR_R_CHAR_P 1 30+#endif 31 32 /* Support bzip2 decompression via -lbz2. */ 33 /* #undef USE_BZLIB */ 34