From 19435a203712447b8a1e17bbe7141b4b1741d917 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 26 Jan 2012 14:27:50 +0800 Subject: [PATCH] Missing files --- Usermode/include/stddef.h | 10 ++++++++++ Usermode/include/unistd.h | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Usermode/include/stddef.h create mode 100644 Usermode/include/unistd.h diff --git a/Usermode/include/stddef.h b/Usermode/include/stddef.h new file mode 100644 index 00000000..efbabb3a --- /dev/null +++ b/Usermode/include/stddef.h @@ -0,0 +1,10 @@ +#ifndef _STDDEF_H_ +#define _STDDEF_H_ + +#ifndef NULL +# define NULL ((void*)0) +#endif + +typedef unsigned int size_t; + +#endif diff --git a/Usermode/include/unistd.h b/Usermode/include/unistd.h new file mode 100644 index 00000000..d7d194db --- /dev/null +++ b/Usermode/include/unistd.h @@ -0,0 +1,10 @@ +#ifndef _UNISTD_H_ +#define _UNISTD_H_ + +#define O_RDWR (OPENFLAG_READ|OPENFLAG_WRITE) + +#include "acess/sys.h" + + +#endif + -- 2.20.1