[openssh-commits] [openssh] 01/02: Define __BSD_VISIBLE in fnmatch.h.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Nov 2 22:47:55 AEDT 2019


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 3611bfe89b92ada5914526d8ff0919aeb967cfa7
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sat Nov 2 22:42:05 2019 +1100

    Define __BSD_VISIBLE in fnmatch.h.
    
    .. since we use symbols defined only when it is when using the compat
    fnmatch.
---
 openbsd-compat/fnmatch.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openbsd-compat/fnmatch.h b/openbsd-compat/fnmatch.h
index b54de01f..d3bc4a86 100644
--- a/openbsd-compat/fnmatch.h
+++ b/openbsd-compat/fnmatch.h
@@ -35,6 +35,8 @@
 /* OPENBSD ORIGINAL: include/fnmatch.h */
 
 #ifndef HAVE_FNMATCH_H
+/* Ensure we define FNM_CASEFOLD */
+#define __BSD_VISIBLE 1
 
 #ifndef	_FNMATCH_H_
 #define	_FNMATCH_H_

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list