git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/SpiderScript - Restructured namespace handling, fixed a few bytecode bugs
[tpg/acess2.git]
/
Usermode
/
include
/
sys
/
stat.h
diff --git
a/Usermode/include/sys/stat.h
b/Usermode/include/sys/stat.h
index
10384ba
..
1813365
100644
(file)
--- a/
Usermode/include/sys/stat.h
+++ b/
Usermode/include/sys/stat.h
@@
-5,18
+5,19
@@
#ifndef _SYS_STAT_H_
#define _SYS_STAT_H_
#ifndef _SYS_STAT_H_
#define _SYS_STAT_H_
-#include
<stdint.h>
/* Evil */
-#include
<stddef.h>
+#include
"../acess/intdefs.h"
/* Evil */
+#include
"../stddef.h"
+;
typedef void *dev_t; /* TODO: How to identify a device with Acess */
typedef void *dev_t; /* TODO: How to identify a device with Acess */
-typedef
uint64_t
ino_t;
+typedef
__uint64_t
ino_t;
typedef unsigned int blksize_t;
typedef unsigned int blksize_t;
-typedef
uint64_t
blkcnt_t;
+typedef
__uint64_t
blkcnt_t;
typedef unsigned int nlink_t;
typedef unsigned int nlink_t;
-typedef
uint32_t
mode_t;
+typedef
__uint32_t
mode_t;
-typedef
uint32_t
uid_t;
-typedef
uint32_t
gid_t;
+typedef
__uint32_t
uid_t;
+typedef
__uint32_t
gid_t;
#define S_IFMT 0170000 /* type of file */
#define S_IFDIR 0040000 /* directory */
#define S_IFMT 0170000 /* type of file */
#define S_IFDIR 0040000 /* directory */
UCC
git Repository :: git.ucc.asn.au