summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoss Burton <[email protected]>2018-06-12 11:59:01 +0100
committerEric Engestrom <[email protected]>2018-06-12 12:08:30 +0100
commit3c288da5eec81ee58b85927df18d9194ead8f5c2 (patch)
treec2deb32be2db26d227c32025fb7920c53d2b74eb /src
parentfb9ab2fbd3a01693bb540560e6bd8d6f3e43a089 (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_bufmgr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h
index 8cdf944e3da..32fc7a553c9 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"