summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arscan.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arscan.c b/arscan.c
index 80a4412..00318f5 100644
--- a/arscan.c
+++ b/arscan.c
@@ -40,6 +40,11 @@
#ifndef AR_HDR_SIZE
#define AR_HDR_SIZE (sizeof (struct ar_hdr))
#endif
+
+/* SCO Unix's compiler defines both of these. */
+#ifdef M_UNIX
+#undef M_XENIX
+#endif
/* Takes three arguments ARCHIVE, FUNCTION and ARG.