Commit 215738a1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

dirent.h is a conditional include now.

parent 639c2de0
...@@ -33,7 +33,9 @@ ...@@ -33,7 +33,9 @@
# include <sys/mman.h> # include <sys/mman.h>
#endif #endif
#include <string.h> #include <string.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
......
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#ifdef HAVE_SYS_IOCTL_H #ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
......
...@@ -24,7 +24,9 @@ ...@@ -24,7 +24,9 @@
#include "wine/port.h" #include "wine/port.h"
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -23,7 +23,9 @@ ...@@ -23,7 +23,9 @@
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <signal.h> #include <signal.h>
......
...@@ -128,7 +128,9 @@ ...@@ -128,7 +128,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <limits.h> #include <limits.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
......
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
......
...@@ -16,8 +16,12 @@ ...@@ -16,8 +16,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -59,7 +59,9 @@ ...@@ -59,7 +59,9 @@
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <dirent.h> #ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <errno.h> #include <errno.h>
#include <ctype.h> #include <ctype.h>
#include <limits.h> /* INT_MIN */ #include <limits.h> /* INT_MIN */
......
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