summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-09-22 05:25:32 +0000
committermillert <millert@openbsd.org>1997-09-22 05:25:32 +0000
commit5752b36fbb53e1a4953b719816a072fdc7510f89 (patch)
treeef5a6a5dfa900aa0db5118d0312d007790deb995
parent-Wall (diff)
downloadwireguard-openbsd-5752b36fbb53e1a4953b719816a072fdc7510f89.tar.xz
wireguard-openbsd-5752b36fbb53e1a4953b719816a072fdc7510f89.zip
Add FNM_FILE_NAME as an alias for FNM_PATHNAME (GNU uses FNM_FILE_NAME).
-rw-r--r--include/fnmatch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 38cf14fd34c..55e9e5786b7 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fnmatch.h,v 1.3 1997/09/22 05:03:30 millert Exp $ */
+/* $OpenBSD: fnmatch.h,v 1.4 1997/09/22 05:25:32 millert Exp $ */
/* $NetBSD: fnmatch.h,v 1.5 1994/10/26 00:55:53 cgd Exp $ */
/*-
@@ -48,6 +48,7 @@
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
#define FNM_CASEFOLD 0x10 /* Case insensitive search. */
#define FNM_IGNORECASE FNM_CASEFOLD
+#define FNM_FILE_NAME FNM_PATHNAME
#endif
#include <sys/cdefs.h>