From d87cb51f56615b76ecddba5a78af98b10187723e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Sun, 13 Dec 2020 19:06:59 +0000 Subject: [PATCH] Fix WITHOUT_ICONV build Move the include of langinfo.h out of the WITH_ICONV condition block, since it is not dependent on ICONV. This was correct when nl_langinfo() had only been called in the WITH_ICONV case, but that is no longer the case. Submitted by: yuripv --- usr.bin/calendar/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/calendar/events.c b/usr.bin/calendar/events.c index 1df2357fb959..8ddea8a85f2a 100644 --- a/usr.bin/calendar/events.c +++ b/usr.bin/calendar/events.c @@ -32,13 +32,13 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include #ifdef WITH_ICONV #include #include -#include static iconv_t conv = (iconv_t)-1; static char *currentEncoding = NULL;