aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/interfaces
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2024-05-24 08:30:15 +0000
committerIngo Klöcker <[email protected]>2024-05-24 08:51:32 +0000
commit6aa359b1e8d468d4f2f9145666ab6d916f453244 (patch)
tree3e712adaf615513a498cb58388805c4085614b97 /lang/cpp/src/interfaces
parentMerge branch 'ikloecker/t7118-revkeys' (diff)
downloadgpgme-6aa359b1e8d468d4f2f9145666ab6d916f453244.tar.gz
gpgme-6aa359b1e8d468d4f2f9145666ab6d916f453244.zip
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 <foo.h> for own headers. -- This fixes the build for projects that include the headers (as intended) with #include <gpgme++/...> and that don't add the gpgme++ subdirectory to the list of include paths for the compiler. GnuPG-bug-id: 7110
Diffstat (limited to 'lang/cpp/src/interfaces')
-rw-r--r--lang/cpp/src/interfaces/assuantransaction.h2
-rw-r--r--lang/cpp/src/interfaces/dataprovider.h2
-rw-r--r--lang/cpp/src/interfaces/statusconsumer.h2
3 files changed, 3 insertions, 3 deletions
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 <stddef.h>
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 <sys/types.h>
-#include "gpgmepp_export.h"
+#include "../gpgmepp_export.h"
#include <gpg-error.h>
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
{