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

Author: Ross Burton <ross.bur...@intel.com>
Date:   Tue Jun 12 11:59:01 2018 +0100

drivers/dri/i965: add missing #include

brw_bufmgr.h uses time_t without include time.h, so the build fails under musl.

Reviewed-by: Eric Engestrom <eric.engest...@intel.com>

---

 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 8cdf944e3d..32fc7a553c 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"
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to