summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-11-17 01:37:27 -0800
committerKenneth Graunke <[email protected]>2015-11-17 10:18:08 -0800
commit874a1ed813c62af245524df6f6d55c1d64e0781d (patch)
tree8bfe6c979f9f1265a32f6acf09ead4b366ed0846 /src/mesa/drivers
parent4518eea065df5c6877b996738ed425c292e3b144 (diff)
i965: Add missing stdio.h include to brw_compiler.h.
This is needed for the FILE * type in brw_print_vue_map(). Apparently, all files that include brw_compiler.h already pick this up via some include chain, so this isn't actually a build fix. However, I have patches which introduce new consumers of brw_compiler.h that fail to build because of the missing #include. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h
index 3f546161409..8f147d3f75a 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.h
+++ b/src/mesa/drivers/dri/i965/brw_compiler.h
@@ -23,6 +23,7 @@
#pragma once
+#include <stdio.h>
#include "brw_device_info.h"
#include "main/mtypes.h"