From 77b9e1de7d7614e8e7eb79f507a1de292efb30a7 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Mon, 15 Dec 2025 15:05:13 +0900 Subject: Fix build with libassuan 2. * src/util.h (assuan_pid_t): Typedef if not available. -- Signed-off-by: NIIBE Yutaka --- src/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/util.h b/src/util.h index ea92440a..d805373a 100644 --- a/src/util.h +++ b/src/util.h @@ -213,6 +213,10 @@ const char *_gpgme_get_w32spawn_path (void); #include +#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; -- cgit