Code

Fix compilation with GCC when _GNU_SOURCE isn't defined.
[sysdb.git] / src / tools / sysdbd / main.c
index 759eee2f5652ebee72c9131d22a05ddbf8f704b2..7bfbaa650c2888c5c30e183c89eb873768c5c8d3 100644 (file)
@@ -47,6 +47,7 @@
 #endif /* ! HAVE_LIBGEN_H */
 
 #include <errno.h>
+#include <time.h>
 
 #include <sys/stat.h>
 #include <fcntl.h>