summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer
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-24 12:25:47 (GMT)
commit513395fa2e4ee8564a202a38584e1887c08f91db (patch)
treee03e00757bbd2c9e23d4ffdddbabd72c00a4e84d /src/plugins/bearer
parent734ba1f540aaedc4a3558268bd7350c0b15325a4 (diff)
downloadQt-513395fa2e4ee8564a202a38584e1887c08f91db.zip
Qt-513395fa2e4ee8564a202a38584e1887c08f91db.tar.gz
Qt-513395fa2e4ee8564a202a38584e1887c08f91db.tar.bz2
Compile on Linux: close(2) is defined in #include <unistd.h>
Reviewed-by: Trust Me
Diffstat (limited to 'src/plugins/bearer')
-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