[X2Go-Commits] [x2goclient] 31/219: compat.h: include QtCore/qglobal.h for Q_OS_... macros.

git-admin at x2go.org git-admin at x2go.org
Thu Sep 22 04:36:00 CEST 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 29a6bd228f6b275ddee7a9296e080f5901a20ca6
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Mar 21 23:51:37 2015 +0100

    compat.h: include QtCore/qglobal.h for Q_OS_... macros.
---
 debian/changelog |    1 +
 src/compat.h     |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f0bce82..95561cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -67,6 +67,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       Add to x2goclient.cpp, x2goclient.pro and x2goclient.pro.maemo.
     - compat.{cpp,h}: remove inline keyword, because function is not defined
       in header file.
+    - compat.h: include QtCore/qglobal.h for Q_OS_... macros.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/compat.h b/src/compat.h
index 36b71ef..39da9eb 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -17,10 +17,11 @@
  *  59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
  ***************************************************************************/
 
-
 #ifndef COMPAT_H
 #define COMPAT_H
 
+#include <QtCore/qglobal.h>
+
 #ifdef Q_OS_DARWIN
 /*
  * strndup() is not available on 10.6 and below, define a compat version here.

--
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