globmatch: Add globmatch to wrap fnmatch
[src/app-framework-binder.git] / src / afb-hook.c
index f8b593d..075f6a0 100644 (file)
 #include "afb-evt.h"
 #include "afb-api.h"
 #include "afb-msg-json.h"
+
+#include "globmatch.h"
 #include "verbose.h"
 
-#include <fnmatch.h>
 #define MATCH(pattern,string)   (\
                pattern \
                        ? !fnmatch((pattern),(string),FNM_CASEFOLD|FNM_EXTMATCH|FNM_PERIOD) \