summaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-11-17 05:31:22 +0100
committerSven Gothel <[email protected]>2013-11-17 05:31:22 +0100
commitc153a453299ef12bdb635dc11574a21bba74f04c (patch)
tree49d83e96be48eeb6c00fd2b37551ff539f3538dc /src/nativewindow
parent0be87f241c0f0b2f5881d9a602ce12378b8e453d (diff)
Fix GLIBC > 2.4 dependency regression of commit 613e33ee8ffc1f2b9c5db1e1b5bb5253a159ed6d
Commit 613e33ee8ffc1f2b9c5db1e1b5bb5253a159ed6d introduced 'memcpy' usage in Xmisc.c which could create a GLIBC > 2.4 dependency. Include GlueGen's glibc-compat-symbols.h to remove such dependency.
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/native/x11/Xmisc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nativewindow/native/x11/Xmisc.c b/src/nativewindow/native/x11/Xmisc.c
index 442d0ceef..2c0e4e22b 100644
--- a/src/nativewindow/native/x11/Xmisc.c
+++ b/src/nativewindow/native/x11/Xmisc.c
@@ -35,6 +35,9 @@
#include <X11/extensions/Xrender.h>
+/** Remove memcpy GLIBC > 2.4 dependencies */
+#include <glibc-compat-symbols.h>
+
// #define VERBOSE_ON 1
#ifdef VERBOSE_ON