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

git-admin at x2go.org git-admin at x2go.org
Wed Mar 25 21:21:14 CET 2015


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

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

commit 8cfe9b082e93b39f1e7713fe9a7f7e773329a4b0
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 ede8895..decba3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -303,6 +303,7 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low
       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.
 
   [ Fernando Pedemonte ]
   * New upstream release (4.0.4.0):
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