diff options
-rw-r--r-- | src/cmd/mk/sys.std.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/mk/sys.std.h b/src/cmd/mk/sys.std.h index fc6a4629..de0d7223 100644 --- a/src/cmd/mk/sys.std.h +++ b/src/cmd/mk/sys.std.h @@ -8,6 +8,7 @@ #include <string.h> #include <ctype.h> #include <time.h> +#include <stdint.h> #define OREAD O_RDONLY #define OWRITE O_WRONLY @@ -20,3 +21,7 @@ #define USED(x) if(x){}else #define create(name, mode, perm) open(name, mode|O_CREAT, perm) #define ERRMAX 256 + +typedef uintptr_t uintptr; +#define uchar mk_uchar +typedef unsigned char uchar; |