summaryrefslogtreecommitdiff
path: root/win32/wfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/wfile.h')
-rw-r--r--win32/wfile.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/win32/wfile.h b/win32/wfile.h
new file mode 100644
index 0000000000..2e79406478
--- /dev/null
+++ b/win32/wfile.h
@@ -0,0 +1,16 @@
+#include <io.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <errno.h>
+
+#define access _access
+#define X_OK 0
+#ifndef ENOENT
+#define ENOENT 136
+#endif
+#ifndef EINVAL
+#define EINVAL 131
+#endif
+
+int readlink(char *, char *, int);
+int checkroot(char *path);