summaryrefslogtreecommitdiff
blob: 30b900d4509b65892b5403368a003bbf412d0980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/configure.in b/configure.in
index 4ea5965..49100ff 100644
--- a/configure.in
+++ b/configure.in
@@ -518,6 +518,7 @@ AC_CHECK_FUNC([mkstemp],,[AC_MSG_ERROR([needs mkstemp])])
 #
 AC_MSG_CHECKING([for strerror])
 AC_TRY_LINK([
+#include <string.h>
 char *blubb() { return (char *) strerror (42); }
 ],[
 (void) blubb();