z80: add size_t / ssize_t as we now need them
authorAlan Cox <alan@etchedpixels.co.uk>
Tue, 20 Oct 2015 08:33:32 +0000 (09:33 +0100)
committerAlan Cox <alan@etchedpixels.co.uk>
Tue, 20 Oct 2015 08:33:32 +0000 (09:33 +0100)
Kernel/cpu-z80/cpu.h

index 9a1e12d..9e5fe12 100644 (file)
@@ -5,6 +5,9 @@ typedef signed short int16_t;
 typedef unsigned char uint8_t;
 typedef signed char int8_t;
 
+typedef uint16_t size_t;
+typedef int16_t ssize_t;
+
 typedef int16_t  arg_t;                        /* Holds arguments */
 typedef uint16_t uarg_t;               /* Holds arguments */
 typedef uint16_t usize_t;              /* Largest value passed by userspace */