summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-24 12:18:28 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-25 15:13:20 (GMT)
commit20b761aeffdc6c1ad3eff2098d9ecd3f3a42bf40 (patch)
tree330a9ab0062b3b63e4fa90a996e54ad4d5af689c /src/plugins
parente572d707b92a5c8f3522a9d99579ca1352f7d961 (diff)
downloadQt-20b761aeffdc6c1ad3eff2098d9ecd3f3a42bf40.zip
Qt-20b761aeffdc6c1ad3eff2098d9ecd3f3a42bf40.tar.gz
Qt-20b761aeffdc6c1ad3eff2098d9ecd3f3a42bf40.tar.bz2
Compile on Linux: close(2) is defined in #include <unistd.h>
Reviewed-by: Trust Me (cherry picked from commit 513395fa2e4ee8564a202a38584e1887c08f91db)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/bearer/generic/qgenericengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/bearer/generic/qgenericengine.cpp b/src/plugins/bearer/generic/qgenericengine.cpp
index a95b14b..e96b80c 100644
--- a/src/plugins/bearer/generic/qgenericengine.cpp
+++ b/src/plugins/bearer/generic/qgenericengine.cpp
@@ -60,6 +60,7 @@
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
+#include <unistd.h>
#endif