aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tcs/utf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/tcs/utf.c')
-rw-r--r--src/cmd/tcs/utf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/tcs/utf.c b/src/cmd/tcs/utf.c
index e6635887..9aad892b 100644
--- a/src/cmd/tcs/utf.c
+++ b/src/cmd/tcs/utf.c
@@ -6,7 +6,6 @@
#include <errno.h>
#else
extern int errno;
-#define EILSEQ 123
#endif
#else
#include <sys/types.h>
@@ -18,6 +17,9 @@ extern int errno;
#include "plan9.h"
#endif
#include "hdr.h"
+#ifndef EILSEQ
+#define EILSEQ 9998
+#endif
/*
the our_* routines are implementations for the corresponding library