Merge branch 'master' of git://localhost/acess2
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / include_exp / sys / types.h
index 03e24dd..c94a65a 100644 (file)
@@ -3,14 +3,22 @@
 #ifndef _SYS_TYPES_H
 #define _SYS_TYPES_H
 
+#include <stddef.h>
+
+#define __USE_BSD      1
+
 //typedef signed int   ssize_t;
-//#ifdef  __USE_BSD
+
+#ifdef  __USE_BSD
+typedef unsigned long  u_long;
 typedef unsigned int   u_int;
-//#endif
+#endif
 
 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;

UCC git Repository :: git.ucc.asn.au