diff --git a/sys/lib/hashtable.c b/sys/lib/hashtable.c index 43735b0f7a..4641b0b3ee 100644 --- a/sys/lib/hashtable.c +++ b/sys/lib/hashtable.c @@ -5,7 +5,13 @@ #include #include #include + +#if (defined(__MACH__) || defined(__FreeBSD__)) +#include +#else #include "malloc.h" +#endif + #include "hashtable.h" #include "hashtable_private.h"