aboutsummaryrefslogtreecommitdiff
path: root/src/survive_config.c
diff options
context:
space:
mode:
authorultramn <dchapm2@umbc.edu>2017-03-16 17:17:07 -0700
committerultramn <dchapm2@umbc.edu>2017-03-16 17:17:07 -0700
commit768a06613e38194e58d37ab3b1c5bb4a326f0e2b (patch)
treeab10dbf78337cb12bd142091efb845ba57d57768 /src/survive_config.c
parenta46654cb58a1f4e1971395a4b4364e1b5a0df8d3 (diff)
downloadlibsurvive-768a06613e38194e58d37ab3b1c5bb4a326f0e2b.tar.gz
libsurvive-768a06613e38194e58d37ab3b1c5bb4a326f0e2b.tar.bz2
Almost compiles on Apple (not quite there)
Diffstat (limited to 'src/survive_config.c')
-rw-r--r--src/survive_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive_config.c b/src/survive_config.c
index 07b9326..5458ef0 100644
--- a/src/survive_config.c
+++ b/src/survive_config.c
@@ -3,7 +3,7 @@
#include <assert.h>
#include "survive_config.h"
#include <json_helpers.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__APPLE__)
#include <stdlib.h>
#else
#include <malloc.h> //for alloca