Code

Fix compilation with GCC when _GNU_SOURCE isn't defined.
[sysdb.git] / src / tools / sysdb / main.c
index e4922e9b939587c914fd7d28ef172ce0fa4a59fb..f502027f04353e115dd427cdd429816569a16116 100644 (file)
@@ -41,6 +41,7 @@
 #include "utils/ssl.h"
 
 #include <errno.h>
+#include <time.h>
 
 #if HAVE_LIBGEN_H
 #      include <libgen.h>