Usermode/libc - Fix edge case crash with realloc on last block
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / include_exp / sys / types.h
index c6cdc02..c94a65a 100644 (file)
@@ -3,10 +3,16 @@
 #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;
 

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