string.h is needed for memcpy()
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 2 Aug 2012 11:55:36 +0000 (13:55 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Aug 2012 14:50:42 +0000 (16:50 +0200)
... which is used by some template code. apparently, the glibc on my
rather recent system removed some implicit includes again.

Change-Id: I9f85362e54a42cccc1e743f2b27bcdb6a90162e3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/global/qendian.h

index 4048eca..faf2871 100644 (file)
@@ -51,6 +51,8 @@
 #include <byteswap.h>
 #endif
 
+#include <string.h>
+
 QT_BEGIN_HEADER
 
 QT_BEGIN_NAMESPACE