Mesa (master): mesa: Include missing headers in prog_print.h.

Vinson Lee vlee at kemper.freedesktop.org
Thu Aug 12 07:28:09 UTC 2010


Module: Mesa
Branch: master
Commit: 791d7d4bf98ca5e38fea76462ef38cfd782b464b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=791d7d4bf98ca5e38fea76462ef38cfd782b464b

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Aug 12 00:27:01 2010 -0700

mesa: Include missing headers in prog_print.h.

Include stdio.h for FILE symbol.
Include glheader.h for GL symbols.
Include mtypes.h for GLcontext symbol.
Add forward declarations.

---

 src/mesa/program/prog_print.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/mesa/program/prog_print.h b/src/mesa/program/prog_print.h
index 9ab7456..4667373 100644
--- a/src/mesa/program/prog_print.h
+++ b/src/mesa/program/prog_print.h
@@ -26,6 +26,16 @@
 #ifndef PROG_PRINT_H
 #define PROG_PRINT_H
 
+#include <stdio.h>
+
+#include "main/glheader.h"
+#include "main/mtypes.h"
+
+struct gl_program;
+struct gl_program_parameter_list;
+struct gl_shader;
+struct prog_instruction;
+
 
 /**
  * The output style to use when printing programs.




More information about the mesa-commit mailing list