changeset 172:b948cf7a881d

include usr.h and types.h in XV6.pm
author tobaru
date Mon, 23 Dec 2019 18:03:22 +0900
parents 8b473f13fd9f
children de3934dd522a
files src/gearsTools/lib/Gears/Context/Template/XV6.pm
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gearsTools/lib/Gears/Context/Template/XV6.pm	Thu Dec 19 17:09:38 2019 +0900
+++ b/src/gearsTools/lib/Gears/Context/Template/XV6.pm	Mon Dec 23 18:03:22 2019 +0900
@@ -35,6 +35,8 @@
 #define calloc(a,b)  kmalloc((a)*(b))
 #define free(a)  kfree(a)
 #else
+#include "types.h"
+#include "user.h"
 #define calloc(a,b)  malloc((a)*(b))
 #define free(a)  free(a)
 #endif