aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/dirfwstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/dirfwstat.c')
-rw-r--r--src/lib9/dirfwstat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib9/dirfwstat.c b/src/lib9/dirfwstat.c
index 7144e7cd..5db908dd 100644
--- a/src/lib9/dirfwstat.c
+++ b/src/lib9/dirfwstat.c
@@ -1,6 +1,8 @@
+#define NOPLAN9DEFINES
#include <u.h>
#include <libc.h>
#include <sys/time.h>
+#include <sys/stat.h>
#if defined(__FreeBSD__) || defined(__APPLE__)
/* do nothing -- futimes exists and is fine */