aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-11-02 00:34:21 +0000
committerYang Tse <yangsita@gmail.com>2006-11-02 00:34:21 +0000
commit4f4427ff41531d17e3cd48effcbe52a7cc827fed (patch)
tree50e43c185c8ae5385859a5b6804b883a3a29c65c /tests/libtest
parent0ed285e84db0049aabb8a8acb34e8ca591ed451b (diff)
check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h
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