Mesa (master): mesa: move #include of mtypes.h outside __cplusplus check

Brian Paul brianp at kemper.freedesktop.org
Tue Dec 16 15:51:40 UTC 2014


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Dec 15 16:41:29 2014 -0700

mesa: move #include of mtypes.h outside __cplusplus check

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

---

 src/mesa/main/errors.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h
index 89d4d58..0c521c0 100644
--- a/src/mesa/main/errors.h
+++ b/src/mesa/main/errors.h
@@ -38,14 +38,13 @@
 
 #include "compiler.h"
 #include "glheader.h"
+#include "mtypes.h"
 
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include "mtypes.h"
-
 struct _glapi_table;
 
 extern void




More information about the mesa-commit mailing list