From: John Hodge Date: Thu, 26 Jan 2012 06:27:50 +0000 (+0800) Subject: Missing files X-Git-Tag: rel0.15~792^2~12 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=19435a203712447b8a1e17bbe7141b4b1741d917;p=tpg%2Facess2.git Missing files --- 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 +