summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/m68k/xm-next.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/m68k/xm-next.h b/gcc/config/m68k/xm-next.h
index 5878bcdea08..bb8fa5cd4f0 100644
--- a/gcc/config/m68k/xm-next.h
+++ b/gcc/config/m68k/xm-next.h
@@ -3,3 +3,6 @@
/* malloc does better with chunks the size of a page. */
#define OBSTACK_CHUNK_SIZE (getpagesize ())
+
+/* Avoid warnings when `wait' is passed an `int *'. */
+#define wait(ARG) wait ((union wait *) (ARG))