Skip to content

Commit

Permalink
OS X: This is not the malloc.h you are looking for
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Crawford committed Jun 17, 2013
1 parent 311fb32 commit 70efaba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/bspc/l_poly.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ If you have questions concerning this license or the applicable additional terms
// Tab Size: 3
//===========================================================================

#include <malloc.h>
// Apple put malloc in stdlib and not malloc.h
#ifdef __APPLE__
# include <stdlib.h>
#else
# include <malloc.h>
#endif

#include "bspc/l_cmd.h"
#include "bspc/l_math.h"
#include "bspc/l_poly.h"
Expand Down

0 comments on commit 70efaba

Please sign in to comment.