* configure, configure.in, sdcc_vc_in.h, sdcconf.h,
[fw/sdcc] / as / hc08 / lklibr.c
index 8ca450486b0fa8d4d2bc36f259e2e10fd4ac72e7..2481d9f02a8e312f005e6bdf83a2467b82b453bf 100644 (file)
 #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>