cpp, qt: Include config.h

lang/cpp/src/callbacks.cpp,
lang/cpp/src/configuration.cpp,
lang/cpp/src/context.cpp,
lang/cpp/src/context_glib.cpp,
lang/cpp/src/context_qt.cpp,
lang/cpp/src/context_vanilla.cpp,
lang/cpp/src/data.cpp,
lang/cpp/src/decryptionresult.cpp,
lang/cpp/src/defaultassuantransaction.cpp,
lang/cpp/src/editinteractor.cpp,
lang/cpp/src/encryptionresult.cpp,
lang/cpp/src/engineinfo.cpp,
lang/cpp/src/eventloopinteractor.cpp,
lang/cpp/src/exception.cpp,
lang/cpp/src/gpgadduserideditinteractor.cpp,
lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp,
lang/cpp/src/gpgsetownertrusteditinteractor.cpp,
lang/cpp/src/gpgsignkeyeditinteractor.cpp,
lang/cpp/src/importresult.cpp,
lang/cpp/src/key.cpp,
lang/cpp/src/keygenerationresult.cpp,
lang/cpp/src/keylistresult.cpp,
lang/cpp/src/scdgetinfoassuantransaction.cpp,
lang/cpp/src/signingresult.cpp,
lang/cpp/src/tofuinfo.cpp,
lang/cpp/src/trustitem.cpp,
lang/cpp/src/verificationresult.cpp,
lang/cpp/src/vfsmountresult.cpp,
lang/qt/src/dataprovider.cpp,
lang/qt/src/defaultkeygenerationjob.cpp,
lang/qt/src/gpgme_backend_debug.cpp,
lang/qt/src/job.cpp,
lang/qt/src/qgpgmeadduseridjob.cpp,
lang/qt/src/qgpgmebackend.cpp,
lang/qt/src/qgpgmechangeexpiryjob.cpp,
lang/qt/src/qgpgmechangeownertrustjob.cpp,
lang/qt/src/qgpgmechangepasswdjob.cpp,
lang/qt/src/qgpgmedecryptjob.cpp,
lang/qt/src/qgpgmedecryptverifyjob.cpp,
lang/qt/src/qgpgmedeletejob.cpp,
lang/qt/src/qgpgmedownloadjob.cpp,
lang/qt/src/qgpgmeencryptjob.cpp,
lang/qt/src/qgpgmeexportjob.cpp,
lang/qt/src/qgpgmeimportfromkeyserverjob.cpp,
lang/qt/src/qgpgmeimportjob.cpp,
lang/qt/src/qgpgmekeyformailboxjob.cpp,
lang/qt/src/qgpgmekeygenerationjob.cpp,
lang/qt/src/qgpgmekeylistjob.cpp,
lang/qt/src/qgpgmelistallkeysjob.cpp,
lang/qt/src/qgpgmenewcryptoconfig.cpp,
lang/qt/src/qgpgmerefreshkeysjob.cpp,
lang/qt/src/qgpgmesecretkeyexportjob.cpp,
lang/qt/src/qgpgmesignencryptjob.cpp,
lang/qt/src/qgpgmesignjob.cpp,
lang/qt/src/qgpgmesignkeyjob.cpp,
lang/qt/src/qgpgmetofupolicyjob.cpp,
lang/qt/src/qgpgmeverifydetachedjob.cpp,
lang/qt/src/qgpgmeverifyopaquejob.cpp,
lang/qt/src/qgpgmewkspublishjob.cpp,
lang/qt/src/threadedjobmixin.cpp,
lang/qt/tests/run-keyformailboxjob.cpp,
lang/qt/tests/t-encrypt.cpp,
lang/qt/tests/t-keylist.cpp,
lang/qt/tests/t-keylocate.cpp,
lang/qt/tests/t-ownertrust.cpp,
lang/qt/tests/t-support.cpp,
lang/qt/tests/t-tofuinfo.cpp,
lang/qt/tests/t-wkspublish.cpp: Include config.h

--
This fixes problems with mismatching definitions. Most
notably _FILE_OFFSET_BITS is now always set correctly.
This commit is contained in:
Andre Heinecke 2016-09-23 15:22:29 +02:00
parent 583aafdd68
commit a142f187b7
69 changed files with 276 additions and 0 deletions

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "callbacks.h"
#include "util.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "configuration.h"
#include "error.h"
#include "util.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <context.h>
#include <eventloopinteractor.h>
#include <trustitem.h>

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <global.h>
extern "C" GIOChannel *gpgme_get_fdptr(int);

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <global.h>
extern "C" QIODevice *gpgme_get_fdptr(int);

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <global.h>
GIOChannel *GpgME::getGIOChannel(int)

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "data_p.h"
#include <error.h>
#include <interfaces/dataprovider.h>

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <decryptionresult.h>
#include "result_p.h"
#include "util.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "defaultassuantransaction.h"
#include "error.h"
#include "data.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "editinteractor.h"
#include "callbacks.h"
#include "error.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <encryptionresult.h>
#include "result_p.h"
#include "util.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "engineinfo.h"
#include <gpgme.h>

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <eventloopinteractor.h>
#include <context.h>

View File

@ -21,6 +21,10 @@
*/
// -*- c++ -*-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "exception.h"
#include <gpgme.h>

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gpgadduserideditinteractor.h"
#include "error.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gpgagentgetinfoassuantransaction.h"
#include "error.h"
#include "data.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gpgsetexpirytimeeditinteractor.h"
#include "error.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gpgsetownertrusteditinteractor.h"
#include "error.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gpgsignkeyeditinteractor.h"
#include "error.h"
#include "key.h"

View File

@ -21,6 +21,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <importresult.h>
#include "result_p.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <key.h>
#include "util.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <keygenerationresult.h>
#include "result_p.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <keylistresult.h>
#include "result_p.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "scdgetinfoassuantransaction.h"
#include "error.h"
#include "data.h"

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <signingresult.h>
#include "result_p.h"
#include "util.h"

View File

@ -19,6 +19,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "tofuinfo.h"
#include <istream>

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <trustitem.h>
#include <gpgme.h>

View File

@ -20,6 +20,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <verificationresult.h>
#include <notation.h>
#include "result_p.h"

View File

@ -21,6 +21,10 @@
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <vfsmountresult.h>
#include "result_p.h"

View File

@ -21,6 +21,10 @@
// -*- c++ -*-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dataprovider.h>
#include <error.h>

View File

@ -28,6 +28,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "defaultkeygenerationjob.h"
#include "protocol.h"
#include "keygenerationjob.h"

View File

@ -1,5 +1,9 @@
// This file is autogenerated by CMake: DO NOT EDIT
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gpgme_backend_debug.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "job.h"
#include "keylistjob.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmeadduseridjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmebackend.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmechangeexpiryjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmechangeownertrustjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmechangepasswdjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmedecryptjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmedecryptverifyjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmedeletejob.h"
#include "context.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmedownloadjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmeencryptjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmeexportjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmeimportfromkeyserverjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmeimportjob.h"
#include "dataprovider.h"

View File

@ -30,6 +30,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmekeyformailboxjob.h"
#include "qgpgmekeylistjob.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmekeygenerationjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmekeylistjob.h"
#include "key.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmelistallkeysjob.h"
#include "key.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmenewcryptoconfig.h"
#include <QDebug>

View File

@ -33,6 +33,10 @@
#define MAX_CMD_LENGTH 32768
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmerefreshkeysjob.h"
#include <QDebug>

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmesecretkeyexportjob.h"
#include <QDebug>

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmesignencryptjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmesignjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmesignkeyjob.h"
#include "dataprovider.h"

View File

@ -28,6 +28,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmetofupolicyjob.h"
#include "context.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmeverifydetachedjob.h"
#include "dataprovider.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmeverifyopaquejob.h"
#include "dataprovider.h"

View File

@ -28,6 +28,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "qgpgmewkspublishjob.h"
#include "context.h"

View File

@ -31,6 +31,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "threadedjobmixin.h"
#include "dataprovider.h"

View File

@ -29,6 +29,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "keyformailboxjob.h"
#include "keylistjob.h"
#include "protocol.h"

View File

@ -28,6 +28,10 @@
you do not wish to do so, delete this exception statement from
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <QDebug>
#include <QTest>
#include <QTemporaryDir>

View File

@ -29,6 +29,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <QDebug>
#include <QTest>
#include <QSignalSpy>

View File

@ -28,6 +28,10 @@
you do not wish to do so, delete this exception statement from
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <QDebug>
#include <QTest>
#include <QSignalSpy>

View File

@ -29,6 +29,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <QDebug>
#include <QTest>
#include <QSignalSpy>

View File

@ -29,6 +29,10 @@
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "t-support.h"
#include <QTest>

View File

@ -28,6 +28,10 @@
you do not wish to do so, delete this exception statement from
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <QDebug>
#include <QTest>
#include <QTemporaryDir>

View File

@ -28,6 +28,10 @@
you do not wish to do so, delete this exception statement from
your version.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <QDebug>
#include <QTest>
#include <QSignalSpy>