diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-09-17 13:16:06 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-09-18 09:10:38 (GMT) |
commit | 6009e98900a605209de38bb73146683fbe606e44 (patch) | |
tree | 1cde01538d8086c47caf76dbb1f995e40c889e90 /tests/auto/qitemview | |
parent | ef310719ef42cd09e2542fce96c529b5657bf167 (diff) | |
download | Qt-6009e98900a605209de38bb73146683fbe606e44.zip Qt-6009e98900a605209de38bb73146683fbe606e44.tar.gz Qt-6009e98900a605209de38bb73146683fbe606e44.tar.bz2 |
Autotest: fix compilation with a more strict compiler / libc.
Reviewed-By: TrustMe
Diffstat (limited to 'tests/auto/qitemview')
-rw-r--r-- | tests/auto/qitemview/tst_qitemview.cpp | 3 |
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) |