Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-04-16 14:20:25 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-04-16 14:20:25 +0400
commit48f81ac6773850952a516c75765376f20d5b5b34 (patch)
treea30f6afb71ba0e4e033ef458addd479027e2e06b /winsup/cygwin/glob.cc
parent62f41c2b1cc9329d956e33bbdc20aeb450bb3ac7 (diff)
* glob.cc: Include winsup.h before anything else.
Diffstat (limited to 'winsup/cygwin/glob.cc')
-rw-r--r--winsup/cygwin/glob.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/glob.cc b/winsup/cygwin/glob.cc
index 3b9267694..c02901fc6 100644
--- a/winsup/cygwin/glob.cc
+++ b/winsup/cygwin/glob.cc
@@ -30,6 +30,10 @@
* SUCH DAMAGE.
*/
+#ifdef __CYGWIN__
+#include "winsup.h"
+#endif
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93";
#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.
*/
-#ifdef __CYGWIN__
-#include "winsup.h"
-#endif
-
#include <sys/param.h>
#include <sys/stat.h>