diff options
-rw-r--r-- | lib/libc/locale/setlocale.c | 3 | ||||
-rw-r--r-- | lib/libc/time/localtime.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c index 08027ed7e51..2c64c480aa7 100644 --- a/lib/libc/locale/setlocale.c +++ b/lib/libc/locale/setlocale.c @@ -1,4 +1,4 @@ -/* $OpenBSD: setlocale.c,v 1.30 2019/07/03 03:24:04 deraadt Exp $ */ +/* $OpenBSD: setlocale.c,v 1.31 2024/08/18 02:20:29 guenther Exp $ */ /* * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> * @@ -16,6 +16,7 @@ */ #include <locale.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/lib/libc/time/localtime.c b/lib/libc/time/localtime.c index 82a3347bd93..7c72c677656 100644 --- a/lib/libc/time/localtime.c +++ b/lib/libc/time/localtime.c @@ -1,4 +1,4 @@ -/* $OpenBSD: localtime.c,v 1.66 2024/04/04 02:20:01 millert Exp $ */ +/* $OpenBSD: localtime.c,v 1.67 2024/08/18 02:20:29 guenther Exp $ */ /* ** This file is in the public domain, so clarified as of ** 1996-06-05 by Arthur David Olson. @@ -13,6 +13,7 @@ #include <errno.h> #include <fcntl.h> #include <stdint.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> |