From: John Hodge Date: Sat, 1 Sep 2012 05:50:06 +0000 (+0800) Subject: Usermode/ld-acess - Slight tweak to headers to stay on spec. X-Git-Tag: rel0.15~706^2~23 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=6c3df728063fbb755c1f0d7a51015e6d4483fe70;p=tpg%2Facess2.git Usermode/ld-acess - Slight tweak to headers to stay on spec. --- diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/stddef.h b/Usermode/Libraries/ld-acess.so_src/include_exp/stddef.h deleted file mode 100644 index 1995839c..00000000 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/stddef.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef _STDDEF_H_ -#define _STDDEF_H_ - -#include "acess/intdefs.h" - -#ifndef NULL -# define NULL ((void*)0) -#endif - -typedef __intptr_t size_t; - -#endif diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/stddef_.h b/Usermode/Libraries/ld-acess.so_src/include_exp/stddef_.h new file mode 100644 index 00000000..1995839c --- /dev/null +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/stddef_.h @@ -0,0 +1,12 @@ +#ifndef _STDDEF_H_ +#define _STDDEF_H_ + +#include "acess/intdefs.h" + +#ifndef NULL +# define NULL ((void*)0) +#endif + +typedef __intptr_t size_t; + +#endif diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/sys/stat.h b/Usermode/Libraries/ld-acess.so_src/include_exp/sys/stat.h index 18133654..31d8b143 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/sys/stat.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/sys/stat.h @@ -6,7 +6,7 @@ #define _SYS_STAT_H_ #include "../acess/intdefs.h" /* Evil */ -#include "../stddef.h" +//#include "../stddef.h" ; typedef void *dev_t; /* TODO: How to identify a device with Acess */