Skip to content

Commit

Permalink
Merge pull request #244 from LudwigOrtmann/fix_hashtable_includes_osx
Browse files Browse the repository at this point in the history
fix malloc include for OSX
  • Loading branch information
LudwigKnuepfer committed Oct 18, 2013
2 parents 26b2461 + d708686 commit aa3c4c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sys/lib/hashtable.c
Expand Up @@ -5,7 +5,13 @@
#include <string.h>
#include <stdint.h>
#include <math.h>

#if (defined(__MACH__) || defined(__FreeBSD__))
#include <stdlib.h>
#else
#include "malloc.h"
#endif

#include "hashtable.h"
#include "hashtable_private.h"

Expand Down

0 comments on commit aa3c4c2

Please sign in to comment.