aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-27 00:12:12 +0000
committerrsc <devnull@localhost>2004-12-27 00:12:12 +0000
commit186a31de6b2624cb38e0555b10cef47578cf2911 (patch)
treecb46507718e1d71f6b2740703de0dd13d6d97714 /src/libregexp
parent6850febee1ff0eaa5e548209f211aaaa762e07e4 (diff)
downloadplan9port-186a31de6b2624cb38e0555b10cef47578cf2911.tar.gz
plan9port-186a31de6b2624cb38e0555b10cef47578cf2911.tar.bz2
plan9port-186a31de6b2624cb38e0555b10cef47578cf2911.zip
add for porting
Diffstat (limited to 'src/libregexp')
-rw-r--r--src/libregexp/lib9.std.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h
new file mode 100644
index 00000000..0cefdde7
--- /dev/null
+++ b/src/libregexp/lib9.std.h
@@ -0,0 +1,10 @@
+#include <fmt.h>
+#include <setjmp.h>
+#include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+#define exits(x) exit(x && *x ? 1 : 0)
+
+#define nil 0
+