aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/io.h')
-rw-r--r--src/cmd/rc/io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/rc/io.h b/src/cmd/rc/io.h
index 92a439e5..ec511871 100644
--- a/src/cmd/rc/io.h
+++ b/src/cmd/rc/io.h
@@ -1,3 +1,9 @@
+/*
+ * on Mac OS X, err is something else,
+ * and assigning to it causes a bus error.
+ * what a crappy linker.
+ */
+#define err rc_err
#define EOF (-1)
#define NBUF 512
struct io{