summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2023-07-14 07:44:21 +0000
committerDamien Miller <djm@mindrot.org>2023-07-17 14:52:03 +1000
commit18ea857770e84825a3a6238bb37f54864487b59f (patch)
treeb1fa19c882bb1a92635aa308f8fba3b89b5df050
parent20b768fcd13effe0f2d3619661b6c8592c773553 (diff)
upstream: Include stdint.h for SIZE_MAX. Fixes OPENSSL=no build.
-rw-r--r--auth-options.c3
-rw-r--r--misc.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/auth-options.c b/auth-options.c
index e1ced205..785a2399 100644
--- a/auth-options.c
+++ b/auth-options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.c,v 1.100 2023/07/14 05:31:44 djm Exp $ */
+/* $OpenBSD: auth-options.c,v 1.101 2023/07/14 07:44:21 dtucker Exp $ */
/*
* Copyright (c) 2018 Damien Miller <djm@mindrot.org>
*
@@ -24,6 +24,7 @@
#include <pwd.h>
#include <string.h>
#include <stdio.h>
+#include <stdint.h>
#include <stdarg.h>
#include <ctype.h>
#include <limits.h>
diff --git a/misc.c b/misc.c
index 2960a2a4..dc498bd9 100644
--- a/misc.c
+++ b/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.182 2023/07/14 05:31:44 djm Exp $ */
+/* $OpenBSD: misc.c,v 1.183 2023/07/14 07:44:21 dtucker Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2005-2020 Damien Miller. All rights reserved.
@@ -38,6 +38,7 @@
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>