check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h
authorYang Tse <yangsita@gmail.com>
Thu, 2 Nov 2006 00:34:21 +0000 (00:34 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 2 Nov 2006 00:34:21 +0000 (00:34 +0000)
tests/libtest/lib518.c

index bb09f0f..62016a2 100644 (file)
@@ -29,7 +29,7 @@
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
 #endif
-#ifdef UNISTD_H
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif