From: Darren Tucker Date: Sat, 2 Nov 2019 11:42:05 +0000 (+1100) Subject: Define __BSD_VISIBLE in fnmatch.h. X-Git-Tag: V_8_2_P1~353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3611bfe89b92ada5914526d8ff0919aeb967cfa7;p=thirdparty%2Fopenssh-portable.git Define __BSD_VISIBLE in fnmatch.h. .. since we use symbols defined only when it is when using the compat fnmatch. --- 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_