projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #895763. Thanks to o_gloom.
[fw/sdcc]
/
as
/
mcs51
/
lklibr.c
diff --git
a/as/mcs51/lklibr.c
b/as/mcs51/lklibr.c
index 2e9bfe437bafd7e04406e137c451504b21327603..678eb30301ca9a25e15f59456a62dcb33f7aafc4 100644
(file)
--- a/
as/mcs51/lklibr.c
+++ b/
as/mcs51/lklibr.c
@@
-18,14
+18,6
@@
#define EQ(A,B) !strcmp((A),(B))
#define MAXLINE 254 /*when using fgets*/
#define EQ(A,B) !strcmp((A),(B))
#define MAXLINE 254 /*when using fgets*/
-#if defined(__APPLE__) && defined(__MACH__)
-#include <sys/types.h>
-#include <sys/malloc.h>
-#else
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>