aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/mk
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-04-21 22:36:01 +0000
committerrsc <devnull@localhost>2007-04-21 22:36:01 +0000
commit14b4a4702c719bf185dde797999a0ba5cad5465f (patch)
tree05de3a803843cbcaff7f1cf255728f17b90ef774 /src/cmd/mk
parent3cbbc79a05fd6cf43e31d94585d3195f29705ed8 (diff)
downloadplan9port-14b4a4702c719bf185dde797999a0ba5cad5465f.tar.gz
plan9port-14b4a4702c719bf185dde797999a0ba5cad5465f.tar.bz2
plan9port-14b4a4702c719bf185dde797999a0ba5cad5465f.zip
unix fix
Diffstat (limited to 'src/cmd/mk')
-rw-r--r--src/cmd/mk/sys.std.h5
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;