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:
parent
b919443a58
commit
8ef9d20f96
|
@ -40,7 +40,9 @@
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#endif
|
#endif
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <dirent.h>
|
#ifdef HAVE_DIRENT_H
|
||||||
|
# include <dirent.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue