diff --git a/configure.ac b/configure.ac
index 2649c731d715065f62cd5b12c6c42a6871acde88..d5384fae6f61b49e8ffb6bbc6f04465e55d9a557 100644
--- a/configure.ac
+++ b/configure.ac
@@ -252,7 +252,7 @@ dnl Checks for header files:
 AC_CHECK_HEADERS([malloc.h sys/time.h],,,[AC_INCLUDES_DEFAULT])
 AX_EXECINFO
 dnl Checks for the availability of functions:
-AC_CHECK_FUNCS([mallinfo pwrite])
+AC_CHECK_FUNCS([mallinfo pwrite timegm])
 AC_REPLACE_FUNCS([getline])
 dnl Check for UUID library:
 ACX_UUID