summaryrefslogtreecommitdiffstats
path: root/tests/auto/qitemview
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qitemview')
-rw-r--r--tests/auto/qitemview/tst_qitemview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qitemview/tst_qitemview.cpp b/tests/auto/qitemview/tst_qitemview.cpp
index 3251ceb..58d7e24 100644
--- a/tests/auto/qitemview/tst_qitemview.cpp
+++ b/tests/auto/qitemview/tst_qitemview.cpp
@@ -45,6 +45,9 @@
#include "viewstotest.cpp"
#include <stdlib.h>
+#if defined(Q_OS_UNIX)
+#include <time.h>
+#endif
#if defined(Q_OS_WIN)
#include <time.h>
#if defined(Q_OS_WINCE)