projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[tests] include unistd for unlink, close (linux, darwin)
[aubio.git]
/
tests
/
utils_tests.h
diff --git
a/tests/utils_tests.h
b/tests/utils_tests.h
index
de157a6
..
ee48e76
100644
(file)
--- 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 */