blob: 92b37935fb0d9ed32d44463f9ae9e63cb23da7bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-fnm__extmatch.h,v 1.1 2016/09/09 15:40:17 scole Exp $
Define FNM_EXTMATCH if not already defined
--- fnm_extmatch.h.orig 2016-09-09 14:49:14.000000000 +0000
+++ fnm_extmatch.h
@@ -0,0 +1,9 @@
+/*
+ * this is defined in external/gpl[23]/gnulib various fnmatch_.h
+ * with _GNU_SOURCE or various _POSIX_C_SOURCE but not
+ * pksrgc/pkgtools/libnbcompat pkg/include/nbcompat/fnmatch.h or
+ * usr/include/fnmatch.h, what is best way to fix?
+ */
+#ifndef FNM_EXTMATCH
+# define FNM_EXTMATCH (1 << 5) /* Use ksh-like extended matching. */
+#endif
|