summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorA-Team <ateam@pad.test.qt.nokia.com>2010-12-10 23:00:13 (GMT)
committerA-Team <ateam@pad.test.qt.nokia.com>2010-12-10 23:00:13 (GMT)
commitd8b52dac5167bdf498d19d66ccb78fb12badf85a (patch)
treed0048967e2089e4893baa4b576d57bfcf24656ca /src/corelib
parenta18714105029a54b4a3814d8e2e5ac2d45c233e9 (diff)
parenteabde99a0e9e4c5e49a05187530cf643258d5719 (diff)
downloadQt-d8b52dac5167bdf498d19d66ccb78fb12badf85a.zip
Qt-d8b52dac5167bdf498d19d66ccb78fb12badf85a.tar.gz
Qt-d8b52dac5167bdf498d19d66ccb78fb12badf85a.tar.bz2
Merge branch '4.7-upstream' into 4.7-doc
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qendian.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h
index d53504a..08415bf 100644
--- a/src/corelib/global/qendian.h
+++ b/src/corelib/global/qendian.h
@@ -44,9 +44,8 @@
#include <QtCore/qglobal.h>
-#ifdef Q_OS_LINUX
-# include <features.h>
-#endif
+// include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems
+#include <stdlib.h>
#ifdef __GLIBC__
#include <byteswap.h>