diff options
| author | NIIBE Yutaka <[email protected]> | 2025-12-15 07:05:13 +0100 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-12-15 07:05:13 +0100 |
| commit | 77b9e1de7d7614e8e7eb79f507a1de292efb30a7 (patch) | |
| tree | 169cdbf2a06342609c5ae71237df6e6e32eaf996 /src/util.h | |
| parent | Fix portability for the use of the assuan types. (diff) | |
| download | gpgme-77b9e1de7d7614e8e7eb79f507a1de292efb30a7.tar.gz gpgme-77b9e1de7d7614e8e7eb79f507a1de292efb30a7.zip | |
Fix build with libassuan 2.
* src/util.h (assuan_pid_t): Typedef if not available.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -213,6 +213,10 @@ const char *_gpgme_get_w32spawn_path (void); #include <assuan.h> +#if ASSUAN_VERSION_NUMBER < 0x030000 +typedef pid_t assuan_pid_t; +#endif + /* System hooks for assuan integration. */ extern struct assuan_system_hooks _gpgme_assuan_system_hooks; extern struct assuan_malloc_hooks _gpgme_assuan_malloc_hooks; |
