From 45288c5d6dff532c6a7a1966a02b8326b36433a1 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 24 Jul 2013 17:36:15 +0800 Subject: [PATCH] cogl-texture-gl.c: Don't include strings.h unconditionally Use the HAVE_STRINGS_H check before we include strings.h, as it is not universally available. Reviewed-by: Robert Bragg (cherry picked from commit ff65144c84a16f9470d3f3931dc91cc9a6ef5938) --- cogl/driver/gl/cogl-texture-gl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogl/driver/gl/cogl-texture-gl.c b/cogl/driver/gl/cogl-texture-gl.c index a7dfc6835..ccf526c1d 100644 --- a/cogl/driver/gl/cogl-texture-gl.c +++ b/cogl/driver/gl/cogl-texture-gl.c @@ -24,7 +24,9 @@ #include "config.h" #endif +#ifdef HAVE_STRINGS_H #include +#endif #include "cogl-context-private.h" #include "cogl-util-gl-private.h"