Mesa (master): mesa: Reduce header file inclusion in m_translate.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Aug 3 07:42:10 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Aug  3 00:41:19 2010 -0700

mesa: Reduce header file inclusion in m_translate.h.

m_translate.h does not use any additional symbols added by config.h.

---

 src/mesa/math/m_translate.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/math/m_translate.h b/src/mesa/math/m_translate.h
index c677682..5804103 100644
--- a/src/mesa/math/m_translate.h
+++ b/src/mesa/math/m_translate.h
@@ -26,7 +26,8 @@
 #ifndef _M_TRANSLATE_H_
 #define _M_TRANSLATE_H_
 
-#include "main/config.h"
+#include "main/compiler.h"
+#include "main/glheader.h"
 #include "main/mtypes.h"		/* hack for GLchan */
 
 




More information about the mesa-commit mailing list