]> git.gag.com Git - fw/sdcc/blobdiff - as/z80/aslist.c
Use headers defined in the C[++] standards:
[fw/sdcc] / as / z80 / aslist.c
index e3a12b3e1192ed1a4515b1abadf2ead2e09b5a47..3a7d0a7f21abd8da4fbd3ef81bb4d7956e2fda01 100644 (file)
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
+#include <stdlib.h>
+#if defined(__APPLE__) && defined(__MACH__)
+#include <sys/types.h>
+#include <sys/malloc.h>
+#else
 #include <malloc.h>
+#endif
 
-//#include "newalloc.h"
-//#if defined(_MSC_VER)
-//#include <malloc.h>
-//#else
-//#include <alloc.h>
-//#endif
 
 #include "asm.h"