diff --git a/configure.ac b/configure.ac
index 6142c4b22a82cae3a61d0b6af4666f7a03174da8..3147e8fc46ceffa82f91b47459f9fe00be817ea4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -437,6 +437,7 @@ AC_CHECK_HEADERS([openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h]
  break])
 
 LSH_FUNC_ALLOCA
+LSH_FUNC_STRERROR
 
 # Needed by the supplied memcmp.c
 AC_C_BIGENDIAN