Mesa (glsl2): glcpp: Add missing include in xtalloc.c
Ian Romanick
idr at kemper.freedesktop.org
Wed Jul 21 00:07:48 UTC 2010
Module: Mesa
Branch: glsl2
Commit: 942ccc517012e360a7e30d3322331c8450dda022
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=942ccc517012e360a7e30d3322331c8450dda022
Author: Carl Worth <cworth at cworth.org>
Date: Tue Jul 20 15:56:02 2010 -0700
glcpp: Add missing include in xtalloc.c
Without this, the compiler was legitimately complaining about missing
declarations for all of the functions being defined here.
---
src/glsl/glcpp/xtalloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/glcpp/xtalloc.c b/src/glsl/glcpp/xtalloc.c
index 656ac2d..a20ea8b 100644
--- a/src/glsl/glcpp/xtalloc.c
+++ b/src/glsl/glcpp/xtalloc.c
@@ -21,7 +21,7 @@
* DEALINGS IN THE SOFTWARE.
*/
-#include <talloc.h>
+#include "glcpp.h"
void *
xtalloc_named_const (const void *context, size_t size, const char *name)
More information about the mesa-commit
mailing list