From 8d10d9a444cbb3ad4535444272870c4c71279dba Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 23 Feb 2012 12:23:25 +0100 Subject: [PATCH] compile fix: missing #include s Change-Id: I3bd34f67033fb921c49da97419c107811d8da6ff Reviewed-by: David Faure --- tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 5 +++++ tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp | 1 + 2 files changed, 6 insertions(+) diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index 671d03c..c214b5f 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -79,6 +79,11 @@ #ifdef QT_BUILD_INTERNAL #include #endif + +#ifdef Q_OS_UNIX +# include +# include // for getuid() +#endif #include #include "../../../network-settings.h" diff --git a/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp index 70da674..2715bfc 100644 --- a/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp +++ b/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp @@ -50,6 +50,7 @@ #include #include #include +#include // for unlink() #endif Q_DECLARE_METATYPE(QLocalSocket::LocalSocketError) -- 2.7.4