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 <robert@linux.intel.com>

(cherry picked from commit ff65144c84a16f9470d3f3931dc91cc9a6ef5938)
This commit is contained in:
Chun-wei Fan 2013-07-24 17:36:15 +08:00 committed by Robert Bragg
parent 96de3fbcf5
commit 45288c5d6d

View File

@ -24,7 +24,9 @@
#include "config.h" #include "config.h"
#endif #endif
#ifdef HAVE_STRINGS_H
#include <strings.h> #include <strings.h>
#endif
#include "cogl-context-private.h" #include "cogl-context-private.h"
#include "cogl-util-gl-private.h" #include "cogl-util-gl-private.h"