$OpenBSD: patch-common_charset_localeutil_cpp,v 1.4 2016/04/20 18:38:41 robert Exp $
--- common/charset/localeutil.cpp.orig	Wed Apr 20 13:13:54 2016
+++ common/charset/localeutil.cpp	Wed Apr 20 19:54:13 2016
@@ -21,6 +21,7 @@
 #include <cstring>
 #include "localeutil.h"
 
+#ifndef __OpenBSD__
 locale_t createUTF8Locale()
 {
 	locale_t loc;
@@ -55,6 +56,7 @@ exit:
 
 	return loc;
 }
+#endif /* !OpenBSD */
 
 /**
  * Initializes the locale to the current language, forced in UTF-8.
