summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */