aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libssh/priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index de7ffdf2..8f1cd84c 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -78,6 +78,10 @@ char *strndup(const char *s, size_t n);
# endif /* __WORDSIZE */
# endif /* PRIu64 */
+# ifndef PRIu32
+# define PRIu32 "u"
+# endif /* PRIu32 */
+
# ifdef _MSC_VER
# include <stdio.h>
# include <stdarg.h> /* va_copy define check */