$OpenBSD: patch-common_charset_localeutil_cpp,v 1.3 2015/11/02 11:06:34 robert Exp $
--- common/charset/localeutil.cpp.orig	Wed Aug  5 17:30:49 2015
+++ common/charset/localeutil.cpp	Thu Aug 20 12:36:50 2015
@@ -47,6 +47,7 @@
 #include <cstring>
 #include "localeutil.h"
 
+#ifndef __OpenBSD__
 locale_t createUTF8Locale()
 {
 	locale_t loc;
@@ -81,6 +82,7 @@ exit:
 
 	return loc;
 }
+#endif /* !OpenBSD */
 
 /**
  * Initializes the locale to the current language, forced in UTF-8.
