summaryrefslogtreecommitdiffstats
path: root/src/corelib/concurrent/qtconcurrentiteratekernel.cpp
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2009-12-25 16:09:52 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-12-25 16:09:52 (GMT)
commit7a0fb8407b0737d6f10181846dd49791e094fd88 (patch)
tree94aa951ca548ee5806754da507662ed79b467f90 /src/corelib/concurrent/qtconcurrentiteratekernel.cpp
parent90f22ce77a8f3b5a568b9c19df1798ef30afcbd2 (diff)
downloadQt-7a0fb8407b0737d6f10181846dd49791e094fd88.zip
Qt-7a0fb8407b0737d6f10181846dd49791e094fd88.tar.gz
Qt-7a0fb8407b0737d6f10181846dd49791e094fd88.tar.bz2
FTBFS on hurd-i386 because since clock_gettime is not available there
qt4-x11 reverts to using gettimeofday, but it doesn't include <sys/time.h> where the latter is defined. Debian bug #533526 Task-number: QTBUG-6961 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'src/corelib/concurrent/qtconcurrentiteratekernel.cpp')
-rw-r--r--src/corelib/concurrent/qtconcurrentiteratekernel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/concurrent/qtconcurrentiteratekernel.cpp b/src/corelib/concurrent/qtconcurrentiteratekernel.cpp
index 15b8ecd..e93394f 100644
--- a/src/corelib/concurrent/qtconcurrentiteratekernel.cpp
+++ b/src/corelib/concurrent/qtconcurrentiteratekernel.cpp
@@ -46,6 +46,9 @@
#include <mach/mach_time.h>
#include <unistd.h>
#elif defined(Q_OS_UNIX)
+#if defined(Q_OS_HURD)
+#include <sys/time.h>
+#endif
#include <time.h>
#include <unistd.h>
#elif defined(Q_OS_WIN)