diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-11-02 22:42:05 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-11-02 22:46:22 +1100 |
commit | 3611bfe89b92ada5914526d8ff0919aeb967cfa7 (patch) | |
tree | 71ae941edee8ebf174816aeeb22a1c12a98e09c3 /openbsd-compat/fnmatch.h | |
parent | f5cc5816aaddb8eca3cba193f53e99d6a0b37d05 (diff) |
Define __BSD_VISIBLE in fnmatch.h.
.. since we use symbols defined only when it is when using the compat
fnmatch.
Diffstat (limited to 'openbsd-compat/fnmatch.h')
-rw-r--r-- | openbsd-compat/fnmatch.h | 2 |
1 files changed, 2 insertions, 0 deletions
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_ |