summarylogtreecommitdiffstats
path: root/bug_2067.patch
diff options
context:
space:
mode:
Diffstat (limited to 'bug_2067.patch')
-rw-r--r--bug_2067.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/bug_2067.patch b/bug_2067.patch
new file mode 100644
index 000000000000..be0100814b4e
--- /dev/null
+++ b/bug_2067.patch
@@ -0,0 +1,13 @@
+diff --git a/src/pcre2grep.c b/src/pcre2grep.c
+index e98d743..f00dac2 100644
+--- a/src/pcre2grep.c
++++ b/src/pcre2grep.c
+@@ -628,7 +628,7 @@ z/OS, and "no support". */
+
+ /************* Directory scanning Unix-style and z/OS ***********/
+
+-#if (defined HAVE_SYS_STAT_H && defined HAVE_DIRENT_H && defined HAVE_SYS_TYPES_H) || defined NATIVE_ZOS
++#if ((defined HAVE_SYS_STAT_H && defined HAVE_DIRENT_H && defined HAVE_SYS_TYPES_H) || defined NATIVE_ZOS) && !defined WIN32
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <dirent.h>