aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authormwturvey <michael.w.turvey@intel.com>2017-03-17 13:46:34 -0700
committermwturvey <michael.w.turvey@intel.com>2017-03-17 13:46:34 -0700
commit94be8ccdbfb2f44c9bc569428537444030ba8eeb (patch)
treeb4efed09113fa76389fd3f381e353b11e5f073e7 /test.c
parenta46654cb58a1f4e1971395a4b4364e1b5a0df8d3 (diff)
downloadlibsurvive-94be8ccdbfb2f44c9bc569428537444030ba8eeb.tar.gz
libsurvive-94be8ccdbfb2f44c9bc569428537444030ba8eeb.tar.bz2
Wired Watchman Now Emit Light & IMU Data
Diffstat (limited to 'test.c')
-rwxr-xr-xtest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.c b/test.c
index a7da490..e34a7a8 100755
--- a/test.c
+++ b/test.c
@@ -1,4 +1,6 @@
+#ifdef __linux__
#include <unistd.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@ -56,6 +58,7 @@ int main()
dump_iface( survive_get_so_by_name( ctx, "WM0" ), "WM0" );
dump_iface( survive_get_so_by_name( ctx, "WM1" ), "WM1" );
dump_iface( survive_get_so_by_name( ctx, "TR0" ), "TR0" );
+ dump_iface( survive_get_so_by_name( ctx, "WW0" ), "WW0" );
while(survive_poll(ctx) == 0)
{