[cogl/cogl-1.16] cogl-texture-gl.c: Don't include strings.h unconditionally
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.16] cogl-texture-gl.c: Don't include strings.h unconditionally
- Date: Tue, 20 Aug 2013 00:20:40 +0000 (UTC)
commit 45288c5d6dff532c6a7a1966a02b8326b36433a1
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Jul 24 17:36:15 2013 +0800
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)
cogl/driver/gl/cogl-texture-gl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/cogl/driver/gl/cogl-texture-gl.c b/cogl/driver/gl/cogl-texture-gl.c
index a7dfc68..ccf526c 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 <strings.h>
+#endif
#include "cogl-context-private.h"
#include "cogl-util-gl-private.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]