dirent.h is a conditional include now.

This commit is contained in:
Francois Gouget 2008-10-19 18:55:13 +02:00 committed by Alexandre Julliard
parent 639c2de061
commit 215738a140
9 changed files with 29 additions and 9 deletions

View File

@ -33,7 +33,9 @@
# include <sys/mman.h>
#endif
#include <string.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <stdio.h>
#include <assert.h>

View File

@ -32,7 +32,9 @@
# include <sys/stat.h>
#endif
#include <fcntl.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif

View File

@ -24,7 +24,9 @@
#include "wine/port.h"
#include <sys/types.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>

View File

@ -23,7 +23,9 @@
#include <assert.h>
#include <ctype.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <errno.h>
#include <fcntl.h>
#include <signal.h>

View File

@ -128,7 +128,9 @@
#include <stdio.h>
#include <stdarg.h>
#include <limits.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>

View File

@ -30,7 +30,9 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include "windef.h"
#include "winbase.h"

View File

@ -16,8 +16,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <sys/types.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <string.h>
#include <stdlib.h>
#include <stdio.h>

View File

@ -59,7 +59,9 @@
#endif
#include <sys/types.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <string.h>
#include <stdarg.h>
#include <stdio.h>

View File

@ -32,7 +32,9 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#include <errno.h>
#include <ctype.h>
#include <limits.h> /* INT_MIN */