summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/systeminfo/qnetworkinfo_linux.cpp1
-rw-r--r--src/systeminfo/qstorageinfo_linux.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/systeminfo/qnetworkinfo_linux.cpp b/src/systeminfo/qnetworkinfo_linux.cpp
index 75b2e1c7..75b15ce1 100644
--- a/src/systeminfo/qnetworkinfo_linux.cpp
+++ b/src/systeminfo/qnetworkinfo_linux.cpp
@@ -68,6 +68,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <linux/wireless.h>
+#include <unistd.h>
QT_BEGIN_NAMESPACE
diff --git a/src/systeminfo/qstorageinfo_linux.cpp b/src/systeminfo/qstorageinfo_linux.cpp
index 34367beb..b1fa12d5 100644
--- a/src/systeminfo/qstorageinfo_linux.cpp
+++ b/src/systeminfo/qstorageinfo_linux.cpp
@@ -53,6 +53,7 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/statfs.h>
+#include <unistd.h>
#if !defined(QT_NO_UDEV)
#include <qudevwrapper_p.h>