diff -Nurd icewm-1.4.2/src/ylocale.cc icewm-1.4.2.new/src/ylocale.cc
--- icewm-1.4.2/src/ylocale.cc	2017-07-30 03:53:35.524267864 -0500
+++ icewm-1.4.2.new/src/ylocale.cc	2018-06-27 08:29:55.967038048 -0500
@@ -56,7 +56,11 @@
 #ifdef CONFIG_NL_CODESETS
 	CONFIG_NL_CODESETS
 #else
-	CODESET, _NL_CTYPE_CODESET_NAME, 0
+	CODESET,
+#ifdef _NL_CTYPE_CODESET_NAME
+	_NL_CTYPE_CODESET_NAME,
+#endif
+	0
 #endif
     };