summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 51f2ca9ee8..87547f5253 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1029,9 +1029,10 @@ extern int DEBUGLEVEL;
#define RTLD_NOW 0
#endif
-/* needed for some systems without iconv */
+/* needed for some systems without iconv. Doesn't really matter
+ what error code we use */
#ifndef EILSEQ
-#define EILSEQ EINVAL
+#define EILSEQ EIO
#endif
/* add varargs prototypes with printf checking */