summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/assuan.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assuan.h.in b/src/assuan.h.in
index f9899d8..4e04a9b 100644
--- a/src/assuan.h.in
+++ b/src/assuan.h.in
@@ -382,8 +382,8 @@ pid_t assuan_get_pid (assuan_context_t ctx);
struct _assuan_peercred
{
#ifdef _WIN32
- /* Empty struct not allowed on some compilers. */
- unsigned int _dummy;
+ /* Empty struct not allowed on some compilers, so, put this (not valid). */
+ pid_t pid;
#else
pid_t pid;
uid_t uid;