From 34e6831a36e19b5ae3e8b4f5690f416ef8044f64 Mon Sep 17 00:00:00 2001 From: Tommy Olofsson <tommy.olofsson.90@gmail.com> Date: Fri, 18 Apr 2014 17:40:47 +0200 Subject: [PATCH] Made the copy-tests compile on osx. --- lib/c/test/test_labcomm_copy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/c/test/test_labcomm_copy.c b/lib/c/test/test_labcomm_copy.c index 9b9a0fd..b7b5e08 100644 --- a/lib/c/test/test_labcomm_copy.c +++ b/lib/c/test/test_labcomm_copy.c @@ -2,6 +2,7 @@ #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> +#include <unistd.h> #include <fcntl.h> #include <assert.h> #include <err.h> -- GitLab