Skip to content

Commit

Permalink
osx/bsd header correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ttilley committed Feb 20, 2012
1 parent a1287b8 commit ad1f6a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/halloc.c
Expand Up @@ -12,7 +12,11 @@
* http://www.opensource.org/licenses/bsd-license.php
*/

#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD)
#include <stdlib.h>
#else
#include <malloc.h> /* realloc */
#endif
#include <string.h> /* memset & co */

#include "halloc.h"
Expand Down

0 comments on commit ad1f6a6

Please sign in to comment.