allow for APPLE MACH compilation
[fw/sdcc] / as / z80 / aslist.c
index 1f57b8903e2f21f87cff52a0bf7febb1ee10a412..e5344899bb1e25136cd79b5e87fb6ba5cfe41e65 100644 (file)
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
+#if defined(__APPLE__) && defined(__MACH__)
+#include <sys/types.h>
+#include <sys/malloc.h>
+#else
 #include <malloc.h>
+#endif
 
 #include "asm.h"