Skip to content
Snippets Groups Projects
Commit 8163b398 authored by Meredith L. Patterson's avatar Meredith L. Patterson
Browse files

Changed other instances of malloc.h to stdlib.h for OSX compat

parent fa6497b9
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
#include "hammer.h"
#include "allocator.h"
#include <assert.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
// {{{ counted arrays
......
......@@ -223,7 +223,7 @@ void h_hashtable_del(HHashTable* ht, void* key);
void h_hashtable_free(HHashTable* ht);
#if 0
#include <malloc.h>
#include <stdlib.h>
#define h_arena_malloc(a, s) malloc(s)
#endif
......
......@@ -20,7 +20,7 @@
#include <string.h>
#include "hammer.h"
#include "internal.h"
#include <malloc.h>
#include <stdlib.h>
typedef struct pp_state {
int delta;
......
#include <malloc.h>
#include <stdlib.h>
#include "internal.h"
static void* system_alloc(HAllocator *allocator, size_t size) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment