check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h

This commit is contained in:
Yang Tse 2006-11-02 00:34:21 +00:00
parent 0ed285e84d
commit 4f4427ff41
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef UNISTD_H
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif