[X2Go-Commits] [x2goclient] 08/139: x2goclient.cpp: add legacy <sys/types.h> header needed for old operating systems.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 13 17:27:16 CET 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit b724237b98f797f97a0865eb08c5c15c10eedef5
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Mar 16 20:37:43 2015 +0100

    x2goclient.cpp: add legacy <sys/types.h> header needed for old operating systems.
---
 debian/changelog   |    2 ++
 src/x2goclient.cpp |    1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 570b4ff..b2e29fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,8 @@ x2goclient (4.0.5.1-0x2go1) UNRELEASED; urgency=low
       in the child process. Use fork_helper() to start the UNIX cleanup helper
       in a child process and continue with the main application in the parent.
     - x2goclient.cpp: add myself to copyright header.
+    - x2goclient.cpp: add legacy <sys/types.h> header needed for old operating
+      systems.
   * debian/control:
     - Change apache2-dev | libc6-dev build dependency back to apache2-dev
       only. Otherwise, apache2-dev is not installed at all, even though
diff --git a/src/x2goclient.cpp b/src/x2goclient.cpp
index c242ad2..58f80f0 100644
--- a/src/x2goclient.cpp
+++ b/src/x2goclient.cpp
@@ -17,6 +17,7 @@
 ***************************************************************************/
 
 #include <iostream>
+#include <sys/types.h>
 #include <unistd.h>
 #include <cstring>
 #include <cerrno>

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list