From fa8f1cd9a08dbe628bec32736f9005987a57f9b7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 22 Nov 2018 07:05:58 +0000 Subject: [PATCH] Fix a build failure. When I added a use of PRIx32 to one of Pageant's debugging messages a couple of days ago, I forgot that one of my build setups can't cope with inclusion of , and somehow also forgot the precautionary pre-push full build that would have reminded me. --- defs.h | 1 + pageant.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/defs.h b/defs.h index 6a789389..f97d56fc 100644 --- a/defs.h +++ b/defs.h @@ -17,6 +17,7 @@ #if defined _MSC_VER && _MSC_VER < 1800 /* Work around lack of inttypes.h in older MSVC */ +#define PRIx32 "x" #define PRIu64 "I64u" #define SCNu64 "I64u" #else diff --git a/pageant.c b/pageant.c index 71c1836f..40ec8b48 100644 --- a/pageant.c +++ b/pageant.c @@ -5,7 +5,6 @@ #include #include #include -#include #include "putty.h" #include "ssh.h"