summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qendian.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@nokia.com>2012-07-18 15:02:01 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-03 15:58:08 +0200
commitc9819493d3d5697929b3aa09accb6cea0be10396 (patch)
tree0acfff06e4387c206d9e8266f427f7406a1b418f /src/corelib/global/qendian.h
parentd6d67d90119ced0af3b45677a15d428ed349407c (diff)
Need #include <string.h> to use memcpy
Caused a compile failure in qtmultimedia. Change-Id: I73652d93848c2005c0132d24bb0d269e7b450396 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'src/corelib/global/qendian.h')
-rw-r--r--src/corelib/global/qendian.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h
index faf2871c60..5b18eec489 100644
--- a/src/corelib/global/qendian.h
+++ b/src/corelib/global/qendian.h
@@ -46,6 +46,7 @@
// include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems
#include <stdlib.h>
+#include <string.h>
#ifdef __GLIBC__
#include <byteswap.h>