From b444085d389e566c8ae1b601ef885c1ef69a2c6c Mon Sep 17 00:00:00 2001 From: nhkeni Date: Wed, 16 Mar 2022 21:27:06 -0400 Subject: [PATCH] ssize_t for Windows --- include/windconf.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/windconf.h b/include/windconf.h index 462580845..e4f7a3e47 100644 --- a/include/windconf.h +++ b/include/windconf.h @@ -146,6 +146,11 @@ extern void interject(int); #endif /* Turn on some additional warnings */ #pragma warning(3:4389) + +/* supply ssize_t */ +#include +typedef SSIZE_T ssize_t; + #endif /* _MSC_VER */ /* The following is needed for prototypes of certain functions */