Define __BSD_VISIBLE in fnmatch.h.

.. since we use symbols defined only when it is when using the compat
fnmatch.
This commit is contained in:
Darren Tucker 2019-11-02 22:42:05 +11:00
parent f5cc5816aa
commit 3611bfe89b
1 changed files with 2 additions and 0 deletions

View File

@ -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_