summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/stat.h b/stat.h
new file mode 100644
index 0000000..5f87a69
--- /dev/null
+++ b/stat.h
@@ -0,0 +1,6 @@
+#include <sys/stat.h>
+
+#if HAVE_LSTAT
+#else
+#define lstat(name, buf) (stat((name), (buf)))
+#endif