aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib518.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib518.c b/tests/libtest/lib518.c
index bb09f0ffc..62016a279 100644
--- a/tests/libtest/lib518.c
+++ b/tests/libtest/lib518.c
@@ -29,7 +29,7 @@
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
-#ifdef UNISTD_H
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif