Mesa (master): i965: Add missing stdio.h include to brw_compiler.h.
Kenneth Graunke
kwg at kemper.freedesktop.org
Tue Nov 17 18:32:03 UTC 2015
Module: Mesa
Branch: master
Commit: 874a1ed813c62af245524df6f6d55c1d64e0781d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=874a1ed813c62af245524df6f6d55c1d64e0781d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Nov 17 01:37:27 2015 -0800
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 at whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
---
src/mesa/drivers/dri/i965/brw_compiler.h | 1 +
1 file changed, 1 insertion(+)
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"
More information about the mesa-commit
mailing list