From: Brian Naylor Date: Wed, 24 May 2017 15:38:49 +0000 (-0400) Subject: Make tests build on bsd X-Git-Tag: fuse-3.0.2~1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cc96e8d783fb7db21430e36172ab98ad70f9927d;p=qemu-gpiodev%2Flibfuse.git Make tests build on bsd --- diff --git a/test/test_setattr.c b/test/test_setattr.c index 1eef66a..017b5e2 100644 --- a/test/test_setattr.c +++ b/test/test_setattr.c @@ -20,7 +20,12 @@ #include #include #include + +#ifndef __linux__ +#include +#else #include +#endif #define FILE_INO 2 #define FILE_NAME "truncate_me" diff --git a/test/test_write_cache.c b/test/test_write_cache.c index fa80327..a5fafd7 100644 --- a/test/test_write_cache.c +++ b/test/test_write_cache.c @@ -20,7 +20,12 @@ #include #include #include + +#ifndef __linux__ +#include +#else #include +#endif #define FILE_INO 2 #define FILE_NAME "write_me"