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
AcessNative - Fixing a couple of bugs exposed by AxWin
[tpg/acess2.git]
/
Usermode
/
include
/
sys
/
stat.h
diff --git
a/Usermode/include/sys/stat.h
b/Usermode/include/sys/stat.h
index
e9b9a8f
..
1813365
100644
(file)
--- a/
Usermode/include/sys/stat.h
+++ b/
Usermode/include/sys/stat.h
@@
-5,17
+5,19
@@
#ifndef _SYS_STAT_H_
#define _SYS_STAT_H_
#ifndef _SYS_STAT_H_
#define _SYS_STAT_H_
-#include <stdint.h> //EVIL!
+#include "../acess/intdefs.h" /* Evil */
+#include "../stddef.h"
-typedef uintptr_t dev_t; // TODO: How to identify a device with Acess
-typedef uint64_t ino_t;
+;
+typedef void *dev_t; /* TODO: How to identify a device with Acess */
+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