aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme-w32spawn.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-12-11 06:45:24 +0100
committerNIIBE Yutaka <[email protected]>2025-12-11 06:55:51 +0100
commit46938bdde47579786c79770eb54b9b742a1e0365 (patch)
tree33fd914b686911b4ca8d611556d5fa5a2d05f661 /src/gpgme-w32spawn.c
parentw32: Add a cast for GetProcAddress, add AM_CFLAGS for w32spawn. (diff)
downloadgpgme-46938bdde47579786c79770eb54b9b742a1e0365.tar.gz
gpgme-46938bdde47579786c79770eb54b9b742a1e0365.zip
Fix portability for the use of the assuan types.
* src/assuan-support.c (my_spawn, my_waitpid): Use assuan_pid_t. (my_socket, my_connect): Use assuan_fd_t. * src/engine-gpg.c (start): Remove unused PID. * src/engine-spawn.c (engspawn_start): Likewise. * src/gpgme-w32spawn.c: Add util.h for assuan types. * src/version.c: Likewise. * src/wait-user.c: Likewise. * src/posix-io.c (_gpgme_io_spawn): Use assuan_pid_t. * src/priv-io.h (_gpgme_io_spawn): Likewise. * src/w32-io.c (_gpgme_io_spawn): Likewise. * src/wait-private.c: Include util.h earlier. -- GnuPG-bug-id: 7968 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src/gpgme-w32spawn.c')
-rw-r--r--src/gpgme-w32spawn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgme-w32spawn.c b/src/gpgme-w32spawn.c
index 61ef9815..56918c96 100644
--- a/src/gpgme-w32spawn.c
+++ b/src/gpgme-w32spawn.c
@@ -38,6 +38,7 @@
#include <stdint.h>
#include <process.h>
+#include "util.h"
#include "priv-io.h"
/* #define DEBUG_TO_FILE 1 */