From 8ef9d20f9697f99130a22e960a2cb9a2acf9af6f Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Mon, 13 Oct 2008 23:37:25 +0100 Subject: [PATCH] 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. --- dlls/wnaspi32/aspi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/wnaspi32/aspi.c b/dlls/wnaspi32/aspi.c index 196b968fa14..c5115243666 100644 --- a/dlls/wnaspi32/aspi.c +++ b/dlls/wnaspi32/aspi.c @@ -40,7 +40,9 @@ #include #endif #include -#include +#ifdef HAVE_DIRENT_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif