Mesa (glsl2): linker: Include compiler. h to avoid spurious warnings about INLINE

Ian Romanick idr at kemper.freedesktop.org
Mon Aug 16 21:05:28 UTC 2010


Module: Mesa
Branch: glsl2
Commit: 45d97dd6d5467d96acee1ba33052836b45668564
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45d97dd6d5467d96acee1ba33052836b45668564

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Aug 16 13:59:34 2010 -0700

linker: Include compiler.h to avoid spurious warnings about INLINE

---

 src/glsl/linker.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 9931251..22cdd76 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -72,6 +72,7 @@ extern "C" {
 #include <talloc.h>
 }
 
+#include "main/compiler.h"
 #include "main/mtypes.h"
 #include "main/macros.h"
 #include "main/shaderobj.h"




More information about the mesa-commit mailing list