aboutsummaryrefslogtreecommitdiff
path: root/data_recorder.c
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-03-18 20:23:40 -0400
committerJoshua Allen <axlecrusher@gmail.com>2017-03-18 20:23:40 -0400
commit079ef4516edee08da8a129a0d84249ccb79bbf23 (patch)
tree9e7b109a98957526ceca63b0ddd07fc96f8697a6 /data_recorder.c
parent4e3ac12016cc489c818709412acd293cac54cb78 (diff)
parent0f94e39d96fbc2744e61b85d2884250d0783eb11 (diff)
downloadlibsurvive-079ef4516edee08da8a129a0d84249ccb79bbf23.tar.gz
libsurvive-079ef4516edee08da8a129a0d84249ccb79bbf23.tar.bz2
Merge branch 'master' of github.com:cnlohr/libsurvive
Diffstat (limited to 'data_recorder.c')
-rw-r--r--data_recorder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/data_recorder.c b/data_recorder.c
index afc17b2..46f3427 100644
--- a/data_recorder.c
+++ b/data_recorder.c
@@ -1,6 +1,8 @@
//Data recorder mod with GUI showing light positions.
+#ifdef __linux__
#include <unistd.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>