[Mesa-dev] [PATCH] drivers/dri/i965: add missing #include
Ross Burton
ross.burton at intel.com
Tue Jun 12 10:59:01 UTC 2018
brw_bufmgr.h uses time_t without include time.h, so the build fails under musl.
---
src/mesa/drivers/dri/i965/brw_bufmgr.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h
index 68f5e0c2c8..5c2702652b 100644
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
@@ -37,6 +37,8 @@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
+#include <time.h>
+
#include "util/u_atomic.h"
#include "util/list.h"
--
2.11.0
More information about the mesa-dev
mailing list