summaryrefslogtreecommitdiffstats
path: root/osdep/glob.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/glob.h')
-rw-r--r--osdep/glob.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/osdep/glob.h b/osdep/glob.h
new file mode 100644
index 0000000000..dae4a73109
--- /dev/null
+++ b/osdep/glob.h
@@ -0,0 +1,16 @@
+#include "../config.h"
+
+#ifndef HAVE_GLOB
+#ifdef __MINGW32__
+typedef struct {
+ size_t gl_pathc;
+ char **gl_pathv;
+ size_t gl_offs;
+} glob_t;
+
+void globfree(glob_t *pglob);
+
+int glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);
+
+#endif
+#endif