This patch is still lingering around in the x2goclient package that is 
on build.opensuse.org.
From: Jan Engelhardt
Date: 2012-02-05 04:47:30.922727435 +0100

g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DCFGCLIENT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I../../x2goclient_3.99.0.6 -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I../../x2goclient_3.99.0.6 -I. -I. -I. -o onmainwindow_part3.o ../onmainwindow_part3.cpp
In file included from ../onmainwindow_privat.h:71,
                 from ../onmainwindow.cpp:21:
../sshprocess.h:62: error: field 'address' has incomplete type

Well *clearly* the include directive for struct sockaddr_in is missing.

---
 sshprocess.h |    1 +
 1 file changed, 1 insertion(+)

Index: x2goclient_3.99.0.6/sshprocess.h
===================================================================
--- x2goclient_3.99.0.6.orig/sshprocess.h
+++ x2goclient_3.99.0.6/sshprocess.h
@@ -22,6 +22,7 @@
 #ifndef SSHPROCESS_H
 #define SSHPROCESS_H
 
+#include <netinet/in.h>
 #include <libssh/libssh.h>
 #include <QObject>
 
_______________________________________________
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to