* glob.cc: Include winsup.h before anything else.

This commit is contained in:
Corinna Vinschen 2013-04-16 10:20:25 +00:00
parent 62f41c2b1c
commit 48f81ac677
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2013-04-16 Corinna Vinschen <corinna@vinschen.de>
* glob.cc: Include winsup.h before anything else.
2013-04-12 Corinna Vinschen <corinna@vinschen.de> 2013-04-12 Corinna Vinschen <corinna@vinschen.de>
* path.cc (symlink_info::check): Drop PC_KEEP_HANDLE flag for * path.cc (symlink_info::check): Drop PC_KEEP_HANDLE flag for

View File

@ -30,6 +30,10 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifdef __CYGWIN__
#include "winsup.h"
#endif
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93"; static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
@ -71,10 +75,6 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/glob.c,v 1.28 2010/05/12 17:44:00 gordon Ex
* 3. State-dependent encodings are not currently supported. * 3. State-dependent encodings are not currently supported.
*/ */
#ifdef __CYGWIN__
#include "winsup.h"
#endif
#include <sys/param.h> #include <sys/param.h>
#include <sys/stat.h> #include <sys/stat.h>