summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/posix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h
index 079373919..d52aa095c 100644
--- a/src/unix/posix.h
+++ b/src/unix/posix.h
@@ -2,6 +2,7 @@
#define INCLUDE_posix__w32_h__
#include "common.h"
+#include <fnmatch.h>
#define p_lstat(p,b) lstat(p,b)
#define p_readlink(a, b, c) readlink(a, b, c)
@@ -10,5 +11,6 @@
#define p_mkdir(p,m) mkdir(p, m)
#define p_fsync(fd) fsync(fd)
#define p_realpath(p, po) realpath(p, po)
+#define p_fnmatch(p, s, f) fnmatch(p, s, f)
#endif