drivers/dri/i965: add missing #include
authorRoss Burton <ross.burton@intel.com>
Tue, 12 Jun 2018 10:59:01 +0000 (11:59 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 12 Jun 2018 11:08:30 +0000 (12:08 +0100)
brw_bufmgr.h uses time_t without include time.h, so the build fails under musl.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/mesa/drivers/dri/i965/brw_bufmgr.h

index 8cdf944e3da298ec6fe71ba9db8f305ad6876b3f..32fc7a553c95277e236cdddebd8d17548644344b 100644 (file)
@@ -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"