summaryrefslogtreecommitdiff
path: root/user/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'user/user.h')
-rw-r--r--user/user.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/user.h b/user/user.h
index 34591fd..31453f5 100644
--- a/user/user.h
+++ b/user/user.h
@@ -1,3 +1,7 @@
+#ifdef LAB_MMAP
+typedef unsigned long size_t;
+typedef long int off_t;
+#endif
struct stat;
struct sysinfo;