* support/Util/dbuf.h: include <stddef.h> for size_t
[fw/sdcc] / support / Util / NewAlloc.c
index d049260a99ca3e58546d67165a4541493211ffba..fb8a180aa75fae876c356533e4bcfa6c554424ba 100644 (file)
@@ -28,17 +28,11 @@ functions.
 */
 
 #include <stdio.h>
-#if defined(__APPLE__) && defined(__MACH__)
-#include <sys/malloc.h>
-#else
-#include <malloc.h>
-#endif
 #include <stdlib.h>
 #include <string.h>
 #include <memory.h>
 #include <assert.h>
 #include "newalloc.h"
-#include "sdccconf.h"
 
 #if OPT_ENABLE_LIBGC
 #include <gc/gc.h>
@@ -49,7 +43,7 @@ functions.
    allocated with malloc() then the program will segfault.  Might as
    well drop it and let the garbase collector take care of things.
 */
-#define FREE(_a)       
+#define FREE(_a)
 
 #else
 
@@ -272,4 +266,3 @@ void freeTrace(allocTrace *ptrace)
   ptrace->palloced = NULL;
   ptrace->max = 0;
 }
-