weston: added missing header time.h
authorValery Kartel <valery.kartel@gmail.com>
Wed, 9 Aug 2017 11:27:29 +0000 (14:27 +0300)
committerDaniel Stone <daniels@collabora.com>
Mon, 4 Dec 2017 19:08:50 +0000 (19:08 +0000)
without it I can't built weston on alpinelinux

Reviewed-by: Daniel Stone <daniels@collabora.com>
tests/timespec-test.c

index 31a6f14..f10ed76 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <unistd.h>
+#include <time.h>
 
 #include "timespec-util.h"