[X2Go-Commits] [x2goclient] 31/44: compat.h: include QtCore/qglobal.h for Q_OS_... macros.
git-admin at x2go.org
git-admin at x2go.org
Mon Jun 29 23:02:16 CEST 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 59ef3308456e829010357d6c0216652b05ba0789
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 1e7cc80..4861f62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -121,6 +121,7 @@ x2goclient (4.0.4.1-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.
[ Mike Gabriel ]
* debian/control:
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