i965: Add missing stdio.h include to brw_compiler.h.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 17 Nov 2015 09:37:27 +0000 (01:37 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 17 Nov 2015 18:18:08 +0000 (10:18 -0800)
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>
src/mesa/drivers/dri/i965/brw_compiler.h

index 3f546161409d167309e4d69ab0ea6746f003bf73..8f147d3f75abb3c5a41a68ea80b9b63230b37ebe 100644 (file)
@@ -23,6 +23,7 @@
 
 #pragma once
 
+#include <stdio.h>
 #include "brw_device_info.h"
 #include "main/mtypes.h"