summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2014-09-14 00:05:27 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2019-04-25 17:30:16 +0100
commit656c08c5429a3cf53e7abd7fc56cd3c3a79c0f64 (patch)
treeebdd1e09de54907cc2d958f74e33718294a5a960 /src
parentbe1745c8eb00defcb31d336ccc142de056e92bd8 (diff)
Include time.h before using time()
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'src')
-rw-r--r--src/xcb_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xcb_auth.c b/src/xcb_auth.c
index 29e2b6f..26eebbb 100644
--- a/src/xcb_auth.c
+++ b/src/xcb_auth.c
@@ -34,6 +34,7 @@
#include <sys/param.h>
#include <unistd.h>
#include <stdlib.h>
+#include <time.h>
#ifdef __INTERIX
/* _don't_ ask. interix has INADDR_LOOPBACK in here. */