shithub: aubio

Download patch

ref: a6065b9b33925ce0d01ce91d23f77586efd5409b
parent: abe67e1b1c8d9dad64be35317f59373924534e3a
author: Paul Brossier <piem@piem.org>
date: Wed Nov 28 18:04:00 EST 2018

[tests] include unistd for unlink, close (linux, darwin)

--- a/tests/utils_tests.h
+++ b/tests/utils_tests.h
@@ -5,6 +5,10 @@
 #include <assert.h>
 #include "config.h"
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h> // unlink, close
+#endif
+
 #ifdef HAVE_LIMITS_H
 #include <limits.h> // PATH_MAX
 #endif /* HAVE_LIMITS_H */