Cygwin's mntent.h requires stdio.h to be included first

Dmitry Timoshkov dmitry at baikal.ru
Sun May 23 07:00:06 CDT 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Cygwin's mntent.h requires stdio.h to be included first.

--- cvs/hq/dlls/ntdll/directory.c	Tue May 18 00:21:04 2004
+++ wine/dlls/ntdll/directory.c	Sun May 23 11:09:07 2004
@@ -27,13 +27,13 @@
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
-#ifdef HAVE_MNTENT_H
-#include <mntent.h>
-#endif
 #include <stdarg.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
+#ifdef HAVE_MNTENT_H
+#include <mntent.h>
+#endif
 #include <sys/stat.h>
 #ifdef HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>






More information about the wine-patches mailing list