summaryrefslogtreecommitdiffstats
path: root/tests/auto/network-settings.h
diff options
context:
space:
mode:
authorAnselmo L. S. Melo <anselmo.melo@openbossa.org>2012-05-22 11:11:33 -0300
committerQt by Nokia <qt-info@nokia.com>2012-05-23 00:42:20 +0200
commit5645f3253f47dabed47395278f12129b631dc4cc (patch)
tree9d546cd986922b4dad8974a0086614087acd9b13 /tests/auto/network-settings.h
parentb41028aaf37031b2d84b6e952e209807b6785bea (diff)
Fix auto tests build with gcc 4.7
Added #include <unistd.h> to tests/auto/network-settings.h, so qtbase auto tests successfully build. It is needed after the header dependency changes, part of gcc 4.7. Change-Id: I76d1082f8454263f2c22c31a13aa3c1bf6a0c82f Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'tests/auto/network-settings.h')
-rw-r--r--tests/auto/network-settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index 72ff9bbc33..9cf03ccdf4 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -48,6 +48,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <unistd.h>
#endif
class QtNetworkSettings