projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41028a
)
Fix auto tests build with gcc 4.7
author
Anselmo L. S. Melo
<anselmo.melo@openbossa.org>
Tue, 22 May 2012 14:11:33 +0000
(11:11 -0300)
committer
Qt by Nokia
<qt-info@nokia.com>
Tue, 22 May 2012 22:42:20 +0000
(
00:42
+0200)
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>
tests/auto/network-settings.h
patch
|
blob
|
history
diff --git
a/tests/auto/network-settings.h
b/tests/auto/network-settings.h
index
72ff9bb
..
9cf03cc
100644
(file)
--- 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