assuming some local .h will pull it in
ok deraadt@
-/* $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>
*
*/
#include <locale.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-/* $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.
#include <errno.h>
#include <fcntl.h>
#include <stdint.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>