diff --git a/include/config.h b/include/config.h
index ac948ba..da93160 100644
--- a/include/config.h
+++ b/include/config.h
@@ -19,6 +19,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <syslog.h>
+#include <time.h>
 #include <linux/limits.h>
 
 #define OPTION_MAX  254     /* max value for program options                */
