From 3611bfe89b92ada5914526d8ff0919aeb967cfa7 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 2 Nov 2019 22:42:05 +1100 Subject: 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(+) (limited to 'openbsd-compat/fnmatch.h') 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_ -- cgit v1.2.3