summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 02:39:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 02:39:42 +0000
commit9005f61de44c0480cd605c3ddf676e0dc3218a08 (patch)
treefb09cabeeeddb1b55ef1fc1e4284e7d13e6556ec /m68k-unknown-amigaos
parent251f5049085249dc04047ade7eed19bbdaccaabc (diff)
downloadtoolchains-9005f61de44c0480cd605c3ddf676e0dc3218a08.tar.gz
toolchains-9005f61de44c0480cd605c3ddf676e0dc3218a08.tar.bz2
Define some BSD types
svn path=/toolchains/; revision=11129
Diffstat (limited to 'm68k-unknown-amigaos')
-rw-r--r--m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p18
1 files changed, 18 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p
new file mode 100644
index 0000000..ffecacf
--- /dev/null
+++ b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p
@@ -0,0 +1,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;