summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-11-02 12:42:05 +0100
committerDarren Tucker <dtucker@dtucker.net>2019-11-02 12:46:22 +0100
commit3611bfe89b92ada5914526d8ff0919aeb967cfa7 (patch)
tree71ae941edee8ebf174816aeeb22a1c12a98e09c3
parentOnly enable U2F if OpenSSL supports ECC. (diff)
downloadopenssh-3611bfe89b92ada5914526d8ff0919aeb967cfa7.tar.xz
openssh-3611bfe89b92ada5914526d8ff0919aeb967cfa7.zip
Define __BSD_VISIBLE in fnmatch.h.
.. since we use symbols defined only when it is when using the compat fnmatch.
-rw-r--r--openbsd-compat/fnmatch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/fnmatch.h b/openbsd-compat/fnmatch.h
index b54de01ff..d3bc4a863 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_