summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authortjg <tjg>2003-02-20 14:03:41 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:23 +0100
commitf78fc50d1b677a4f8f92dd7057f87eb26dea31a6 (patch)
tree87b7b1086ec5c9c18220d0355f4ab54b34ee4db5 /stat.h
parentc759fd5f39c2cc2971869a2ffe59a29ffecd63da (diff)
Initial revision
Diffstat (limited to 'stat.h')
-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