$OpenBSD: patch-lib_charset_c,v 1.1 2011/12/01 18:57:48 shadchin Exp $
--- lib/charset.c.orig	Mon Nov 21 00:21:11 2011
+++ lib/charset.c	Mon Nov 21 00:21:19 2011
@@ -26,6 +26,7 @@
  * at least 16 bits, but this code has only been tested on systems with
  * 8-bit char, 16-bit short and 32-bit int.
  */
+#include "srconfig.h"
 
 #ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */
 
