$NetBSD: patch-ah,v 1.1 2006/09/26 07:27:19 martti Exp $

--- src/misc/charset.c.orig	2006-05-06 17:52:13.000000000 +0200
+++ src/misc/charset.c
@@ -37,10 +37,9 @@
 #if !defined WIN32
 # if HAVE_LANGINFO_CODESET
 #  include <langinfo.h>
-# else
-#  if HAVE_SETLOCALE
-#   include <locale.h>
-#  endif
+# endif
+# if HAVE_SETLOCALE
+#  include <locale.h>
 # endif
 #elif defined WIN32
 # include <windows.h>
