summaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2014-05-13 22:01:03 +0100
committerThomas Adam <thomas@xteddy.org>2014-05-13 22:01:03 +0100
commit92af7f5901bd944e385e7fdbe8696b2c911ed776 (patch)
tree47e806dcd115937c8ca2632307437ea24d3f7e6b /log.c
parentbae95844d75b257c61cd0ef57b1d826bdca09032 (diff)
Linux: Add <time.h> to log.c
This is needed, otherwise tzset() is undefined.
Diffstat (limited to 'log.c')
-rw-r--r--log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/log.c b/log.c
index 7ef70ab6..5c2889c7 100644
--- a/log.c
+++ b/log.c
@@ -17,6 +17,7 @@
*/
#include <sys/types.h>
+#include <time.h>
#include <errno.h>
#include <stdio.h>