Mesa (master): mesa: Clean up header file inclusion in version.c.

Vinson Lee vlee at kemper.freedesktop.org
Thu Jan 6 08:47:06 UTC 2011


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Jan  6 00:45:08 2011 -0800

mesa: Clean up header file inclusion in version.c.

Include imports.h directly instead of indirectly through context.h.
version.c does use any symbols that are added by context.h.

---

 src/mesa/main/version.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index dd57d3b..a10b86e 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -22,7 +22,7 @@
  */
 
 
-#include "context.h"
+#include "imports.h"
 #include "mtypes.h"
 #include "version.h"
 




More information about the mesa-commit mailing list