add EILSEQ for mac
diff --git a/src/cmd/tcs/utf.c b/src/cmd/tcs/utf.c index e663588..9aad892 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 @@ #include "plan9.h" #endif #include "hdr.h" +#ifndef EILSEQ +#define EILSEQ 9998 +#endif /* the our_* routines are implementations for the corresponding library