about summary refs log tree commit diff
path: root/src/locale
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/catopen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/catopen.c b/src/locale/catopen.c
index 4423c4d9..3fbc7717 100644
--- a/src/locale/catopen.c
+++ b/src/locale/catopen.c
@@ -1,6 +1,8 @@
 #include <nl_types.h>
+#include <errno.h>
 
 nl_catd catopen (const char *name, int oflag)
 {
+	errno = EOPNOTSUPP;
 	return (nl_catd)-1;
 }