Mesa (master): mesa: Include missing header in programopt.h.

Vinson Lee vlee at kemper.freedesktop.org
Fri Aug 13 06:28:43 UTC 2010


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

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

mesa: Include missing header in programopt.h.

Include mtypes.h for GLcontext and gl_register_file symbols.

---

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

diff --git a/src/mesa/program/programopt.h b/src/mesa/program/programopt.h
index 21fac07..4af6357 100644
--- a/src/mesa/program/programopt.h
+++ b/src/mesa/program/programopt.h
@@ -26,6 +26,7 @@
 #ifndef PROGRAMOPT_H
 #define PROGRAMOPT_H 1
 
+#include "main/mtypes.h"
 
 extern void
 _mesa_insert_mvp_code(GLcontext *ctx, struct gl_vertex_program *vprog);




More information about the mesa-commit mailing list