[newlib-cygwin/main] Cygwin: glob: fix includes
Corinna Vinschen
corinna@sourceware.org
Wed Feb 22 11:21:09 GMT 2023
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4349a1e4db294808b11a1bb50594c5ea1072d000
commit 4349a1e4db294808b11a1bb50594c5ea1072d000
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Wed Feb 22 10:00:10 2023 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Wed Feb 22 10:00:10 2023 +0100
Cygwin: glob: fix includes
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/glob.cc | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/winsup/cygwin/glob.cc b/winsup/cygwin/glob.cc
index 66681786aae8..8bcdd61b2032 100644
--- a/winsup/cygwin/glob.cc
+++ b/winsup/cygwin/glob.cc
@@ -90,17 +90,11 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/glob.c,v 1.28 2010/05/12 17:44:00 gordon Ex
#include <string.h>
#include <unistd.h>
#include <wchar.h>
+#include <wctype.h>
#include "collate.h"
#ifdef __CYGWIN__
-#include <wctype.h>
-#include "path.h"
-#include "fhandler.h"
-#include "dtable.h"
-#include "cygheap.h"
-#include "cygwin/version.h"
-
#define CCHAR(c) (ignore_case_with_glob ? towlower (CHAR (c)) : CHAR (c))
#define Cchar(c) (ignore_case_with_glob ? towlower (c) : (c))
#endif
More information about the Cygwin-cvs
mailing list