sharetray.cpp: In member function 'void ShareTray::handleSigKeybInt()':
sharetray.cpp:225:2: error: '::read' has not been declared
sharetray.cpp: In member function 'void ShareTray::handleSigTerm()':
sharetray.cpp:237:2: error: '::read' has not been declared
sharetray.cpp: In member function 'void ShareTray::handleSigAbort()':
sharetray.cpp:249:2: error: '::read' has not been declared
sharetray.cpp: In member function 'void ShareTray::handleSigHup()':
sharetray.cpp:261:2: error: '::read' has not been declared
sharetray.cpp: In static member function 'static void 
ShareTray::keybintSignalHandler(int)':
sharetray.cpp:272:2: error: '::write' has not been declared
sharetray.cpp: In static member function 'static void 
ShareTray::termSignalHandler(int)':
sharetray.cpp:278:2: error: '::write' has not been declared
sharetray.cpp: In static member function 'static void 
ShareTray::abortSignalHandler(int)':
sharetray.cpp:284:2: error: '::write' has not been declared
sharetray.cpp: In static member function 'static void 
ShareTray::hupSignalHandler(int)':
sharetray.cpp:290:2: error: '::write' has not been declared
sharetray.cpp: In member function 'void ShareTray::slotStartSharing()':
sharetray.cpp:325:40: error: 'getuid' was not declared in this scope
sharetray.cpp:325:84: error: 'chown' was not declared in this scope
make: *** [sharetray.o] Error 1

---
 sharetray.cpp |    1 +
 1 file changed, 1 insertion(+)

Index: x2godesktopsharing_3.1.0.4/sharetray.cpp
===================================================================
--- x2godesktopsharing_3.1.0.4.orig/sharetray.cpp
+++ x2godesktopsharing_3.1.0.4/sharetray.cpp
@@ -33,6 +33,7 @@
 #include <QDateTime>
 #include <grp.h>
 #include <QProcess>
+#include <unistd.h>
 #define STAT_ACT_COUNT 10
 
 #define VERSION "3.0.1.5"
_______________________________________________
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to