Mesa (master): pan_bo.h: add time.h include for time_t

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jun 7 17:13:16 UTC 2020


Module: Mesa
Branch: master
Commit: d512028d06c40ba56b642095379638b49ebf4a23
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d512028d06c40ba56b642095379638b49ebf4a23

Author: Peter Seiderer <ps.report at gmx.net>
Date:   Sun Mar 22 11:48:31 2020 +0100

pan_bo.h: add time.h include for time_t

Fixes:

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

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

---

 src/panfrost/encoder/pan_bo.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/panfrost/encoder/pan_bo.h b/src/panfrost/encoder/pan_bo.h
index fc20ceed1d4..7773b2baaab 100644
--- a/src/panfrost/encoder/pan_bo.h
+++ b/src/panfrost/encoder/pan_bo.h
@@ -29,6 +29,7 @@
 #include <panfrost-misc.h>
 #include "util/list.h"
 #include "pan_device.h"
+#include <time.h>
 
 /* Flags for allocated memory */
 



More information about the mesa-commit mailing list