Commit 8ef9d20f authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent b919443a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment