aboutsummaryrefslogtreecommitdiff
path: root/src/survive_vive.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_vive.c
parenta46654cb58a1f4e1971395a4b4364e1b5a0df8d3 (diff)
downloadlibsurvive-768a06613e38194e58d37ab3b1c5bb4a326f0e2b.tar.gz
libsurvive-768a06613e38194e58d37ab3b1c5bb4a326f0e2b.tar.bz2
Almost compiles on Apple (not quite there)
Diffstat (limited to 'src/survive_vive.c')
-rwxr-xr-xsrc/survive_vive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive_vive.c b/src/survive_vive.c
index 1929b1a..5a76d24 100755
--- a/src/survive_vive.c
+++ b/src/survive_vive.c
@@ -18,7 +18,7 @@
#include <string.h>
#include <sys/stat.h>
#include <os_generic.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__APPLE__)
#include <malloc.h> // for alloca
#endif