Skip to content
Snippets Groups Projects
Commit 556e2f03 authored by Rink Springer's avatar Rink Springer Committed by Herbert Xu
Browse files

expand: Remove dependency on fmatch.h if it does not exit


[ Ugh; forgot to attach patch - apologies, I need more coffee ]

Dear all,

Attached is a trivial patch that removes the assumption that fnmatch.h
is available - the configure script already checks for fnmatch(3) and
supplies its own implementation if necessary, but fnmatch.h is always
included.

Let me know what you think.

Regards,
Rink

Do not assume we can include fnmatch.h

Signed-off-by: default avatarRink Springer <rink@rink.nu>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 7f31919c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -45,7 +45,9 @@
#include <inttypes.h>
#include <limits.h>
#include <string.h>
#ifdef HAVE_FNMATCH
#include <fnmatch.h>
#endif
#ifdef HAVE_GLOB
#include <glob.h>
#endif
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment