wnaspi32: Protect the inclusion of dirent.h in aspi.c.

This allows the file to be compiled on platforms that don't have the
header file, such as MSVC.
This commit is contained in:
Rob Shearman 2008-10-13 23:37:25 +01:00 committed by Alexandre Julliard
parent b919443a58
commit 8ef9d20f96
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@
#include <sys/ioctl.h>
#endif
#include <fcntl.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif