summaryrefslogtreecommitdiff
path: root/libc/misc/glob/glob64-susv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/glob/glob64-susv3.c')
-rw-r--r--libc/misc/glob/glob64-susv3.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/misc/glob/glob64-susv3.c b/libc/misc/glob/glob64-susv3.c
new file mode 100644
index 000000000..cc633cd88
--- /dev/null
+++ b/libc/misc/glob/glob64-susv3.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2006 Rich Felker <dalias@aerifal.cx>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#include <_lfs_64.h>
+
+#include <dirent.h>
+#include <glob.h>
+#include <sys/stat.h>
+
+#define glob_t glob64_t
+#define glob(pattern, flags, errfunc, pglob) \
+ glob64 (pattern, flags, errfunc, pglob)
+#define globfree(pglob) globfree64 (pglob)
+
+#define __GLOB64 1
+
+#include "glob-susv3.c"