summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_compiler.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-11-17 01:37:27 -0800
committerKenneth Graunke <kenneth@whitecape.org>2015-11-17 10:18:08 -0800
commit874a1ed813c62af245524df6f6d55c1d64e0781d (patch)
tree8bfe6c979f9f1265a32f6acf09ead4b366ed0846 /src/mesa/drivers/dri/i965/brw_compiler.h
parent4518eea065df5c6877b996738ed425c292e3b144 (diff)
downloadexternal_mesa3d-874a1ed813c62af245524df6f6d55c1d64e0781d.zip
external_mesa3d-874a1ed813c62af245524df6f6d55c1d64e0781d.tar.gz
external_mesa3d-874a1ed813c62af245524df6f6d55c1d64e0781d.tar.bz2
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 <kenneth@whitecape.org> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.h')
-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 3f54616..8f147d3 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"