Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed malloc.h include for OSX (patch from @tpaviot)
  • Loading branch information
davyw committed Feb 28, 2012
commit 16743b297b34a876fd089e2c30863b3453e7dabf
6 changes: 5 additions & 1 deletion src/base/scl_memmgr.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@

#define SCL_MEMMGR_CC
#include "scl_memmgr.h"
#include <malloc.h>
#if __APPLE__
# include <malloc/malloc.h>
#else
# include <malloc.h>
#endif
#include <stdio.h>

#include <string>
Expand Down