summaryrefslogtreecommitdiff
path: root/lib/stat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-02-25 12:05:36 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-02-25 12:05:36 -0800
commit36f13e1667c66073ef18c4ee3394865c3b7c6cbb (patch)
treebe36845ff1a7ffadcfa590589d099fb681d019ba /lib/stat.c
parent4394ee04741d5fe2fd4cc7a7ee821e1f8a3f2d32 (diff)
downloademacs-36f13e1667c66073ef18c4ee3394865c3b7c6cbb.tar.gz
Simplify symlink portability workaround.
Diffstat (limited to 'lib/stat.c')
-rw-r--r--lib/stat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stat.c b/lib/stat.c
index f16d9144afc..cbc9100fd4d 100644
--- a/lib/stat.c
+++ b/lib/stat.c
@@ -37,6 +37,7 @@ orig_stat (const char *filename, struct stat *buf)
#include <limits.h>
#include <stdbool.h>
#include <string.h>
+#include "dosname.h"
/* Store information about NAME into ST. Work around bugs with
trailing slashes. Mingw has other bugs (such as st_ino always