pan_bo.h: add time.h include for time_t
authorPeter Seiderer <ps.report@gmx.net>
Sun, 22 Mar 2020 10:48:31 +0000 (11:48 +0100)
committerPeter Seiderer <ps.report@gmx.net>
Sun, 7 Jun 2020 16:08:17 +0000 (18:08 +0200)
Fixes:

  ../src/gallium/drivers/panfrost/pan_bo.h:93:9: error: unknown type name ‘time_t’

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279>

src/panfrost/encoder/pan_bo.h

index fc20ceed1d47f9bbed6ac540a9b8706d8a7b61ef..7773b2baaab1aed5b325ef47116c3877c8a328df 100644 (file)
@@ -29,6 +29,7 @@
 #include <panfrost-misc.h>
 #include "util/list.h"
 #include "pan_device.h"
+#include <time.h>
 
 /* Flags for allocated memory */