projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use headers defined in the C[++] standards:
[fw/sdcc]
/
as
/
z80
/
aslist.c
diff --git
a/as/z80/aslist.c
b/as/z80/aslist.c
index 1f57b8903e2f21f87cff52a0bf7febb1ee10a412..3a7d0a7f21abd8da4fbd3ef81bb4d7956e2fda01 100644
(file)
--- a/
as/z80/aslist.c
+++ b/
as/z80/aslist.c
@@
-16,7
+16,14
@@
#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 "asm.h"