From 6aa359b1e8d468d4f2f9145666ab6d916f453244 Mon Sep 17 00:00:00 2001 From: Ingo Klöcker Date: Fri, 24 May 2024 10:30:15 +0200 Subject: cpp: Fix includes in public headers * lang/cpp/src/defaultassuantransaction.h, lang/cpp/src/gpgadduserideditinteractor.h, lang/cpp/src/gpgagentgetinfoassuantransaction.h, lang/cpp/src/gpggencardkeyinteractor.h, lang/cpp/src/gpgsetexpirytimeeditinteractor.h, lang/cpp/src/gpgsetownertrusteditinteractor.h, lang/cpp/src/gpgsignkeyeditinteractor.h, lang/cpp/src/interfaces/assuantransaction.h, lang/cpp/src/interfaces/dataprovider.h, lang/cpp/src/interfaces/statusconsumer.h, lang/cpp/src/scdgetinfoassuantransaction.h, lang/cpp/src/statusconsumerassuantransaction.h, lang/cpp/src/trustitem.h: Use #include "foo.h" instead of #include for own headers. -- This fixes the build for projects that include the headers (as intended) with #include and that don't add the gpgme++ subdirectory to the list of include paths for the compiler. GnuPG-bug-id: 7110 --- lang/cpp/src/interfaces/assuantransaction.h | 2 +- lang/cpp/src/interfaces/dataprovider.h | 2 +- lang/cpp/src/interfaces/statusconsumer.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lang/cpp/src/interfaces') diff --git a/lang/cpp/src/interfaces/assuantransaction.h b/lang/cpp/src/interfaces/assuantransaction.h index 0d0dcccb..35682f55 100644 --- a/lang/cpp/src/interfaces/assuantransaction.h +++ b/lang/cpp/src/interfaces/assuantransaction.h @@ -26,7 +26,7 @@ #ifndef __GPGMEPP_INTERFACES_ASSUANTRANSACTION_H__ #define __GPGMEPP_INTERFACES_ASSUANTRANSACTION_H__ -#include "gpgmepp_export.h" +#include "../gpgmepp_export.h" #include diff --git a/lang/cpp/src/interfaces/dataprovider.h b/lang/cpp/src/interfaces/dataprovider.h index c8f387d6..22dc459b 100644 --- a/lang/cpp/src/interfaces/dataprovider.h +++ b/lang/cpp/src/interfaces/dataprovider.h @@ -27,7 +27,7 @@ #include -#include "gpgmepp_export.h" +#include "../gpgmepp_export.h" #include diff --git a/lang/cpp/src/interfaces/statusconsumer.h b/lang/cpp/src/interfaces/statusconsumer.h index a819fccf..65e7ea4a 100644 --- a/lang/cpp/src/interfaces/statusconsumer.h +++ b/lang/cpp/src/interfaces/statusconsumer.h @@ -24,7 +24,7 @@ #ifndef __GPGMEPP_INTERFACES_STATUSCONSUMER_H__ #define __GPGMEPP_INTERFACES_STATUSCONSUMER_H__ -#include "gpgmepp_export.h" +#include "../gpgmepp_export.h" namespace GpgME { -- cgit