summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p
blob: ffecacf85985487f30fc80a05531e6010256a7b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- include/sys/types.h	2010-12-29 00:58:25.000000000 +0000
+++ include/sys/types.h	2010-12-29 01:01:33.000000000 +0000
@@ -65,6 +65,15 @@
 
 /****************************************************************************/
 
+/* BSD types */
+#ifndef __u_char_defined
+typedef unsigned char u_char;
+typedef unsigned short int u_short;
+typedef unsigned int u_int;
+typedef unsigned long u_long;
+#define __u_char_defined
+#endif
+
 typedef char * caddr_t;
 typedef unsigned int comp_t;
 typedef unsigned long dev_t;