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/libc - Fix edge case crash with realloc on last block
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libposix.so_src
/
include_exp
/
sys
/
types.h
diff --git
a/Usermode/Libraries/libposix.so_src/include_exp/sys/types.h
b/Usermode/Libraries/libposix.so_src/include_exp/sys/types.h
index
9b7aac0
..
c94a65a
100644
(file)
--- a/
Usermode/Libraries/libposix.so_src/include_exp/sys/types.h
+++ b/
Usermode/Libraries/libposix.so_src/include_exp/sys/types.h
@@
-3,16
+3,22
@@
#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H
#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H
-#include <stdint.h>
+#include <stddef.h>
+
+#define __USE_BSD 1
//typedef signed int ssize_t;
//typedef signed int ssize_t;
-//#ifdef __USE_BSD
+
+#ifdef __USE_BSD
+typedef unsigned long u_long;
typedef unsigned int u_int;
typedef unsigned int u_int;
-
//
#endif
+#endif
typedef struct stat t_fstat;
typedef struct stat t_fstat;
+typedef unsigned long uid_t;
+typedef unsigned long gid_t;
typedef unsigned int id_t;
typedef unsigned long pid_t;
typedef unsigned long tid_t;
typedef unsigned int id_t;
typedef unsigned long pid_t;
typedef unsigned long tid_t;
@@
-21,7
+27,7
@@
typedef long long int off_t;
typedef unsigned int uint;
typedef unsigned int uint;
-#include "stat.h"
+
//
#include "stat.h"
#include <acess/fd_set.h>
#endif
#include <acess/fd_set.h>
#endif
UCC
git Repository :: git.ucc.asn.au