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 | |
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')
-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 b54de01ff..d3bc4a863 100644 --- a/openbsd-compat/fnmatch.h +++ b/openbsd-compat/fnmatch.h | |||
@@ -35,6 +35,8 @@ | |||
35 | /* OPENBSD ORIGINAL: include/fnmatch.h */ | 35 | /* OPENBSD ORIGINAL: include/fnmatch.h */ |
36 | 36 | ||
37 | #ifndef HAVE_FNMATCH_H | 37 | #ifndef HAVE_FNMATCH_H |
38 | /* Ensure we define FNM_CASEFOLD */ | ||
39 | #define __BSD_VISIBLE 1 | ||
38 | 40 | ||
39 | #ifndef _FNMATCH_H_ | 41 | #ifndef _FNMATCH_H_ |
40 | #define _FNMATCH_H_ | 42 | #define _FNMATCH_H_ |