veyon/italc-2.0.0-fix-missing-includes.patch

15 lines
432 B
Diff
Raw Permalink Normal View History

diff -Nru italc-2.0.0.orig/lib/src/LocalSystem.cpp italc-2.0.0/lib/src/LocalSystem.cpp
--- italc-2.0.0.orig/lib/src/LocalSystem.cpp 2011-08-03 23:18:00.000000000 +0200
+++ italc-2.0.0/lib/src/LocalSystem.cpp 2013-04-28 18:12:28.663832552 +0200
@@ -30,6 +30,10 @@
#include <QtGui/QWidget>
#include <QtNetwork/QHostInfo>
+#ifdef ITALC_BUILD_LINUX
+#include <unistd.h>
+#include <sys/types.h>
+#endif
#ifdef ITALC_BUILD_WIN32