summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/unix.h')
-rw-r--r--otherlibs/unix/unix.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/otherlibs/unix/unix.h b/otherlibs/unix/unix.h
new file mode 100644
index 000000000..e63b04a7f
--- /dev/null
+++ b/otherlibs/unix/unix.h
@@ -0,0 +1,18 @@
+#define Nothing ((value) 0)
+
+#ifndef NULL
+#ifdef ANSI
+#define NULL ((void *) 0)
+#else
+#define NULL ((char *) 0)
+#endif
+#endif
+
+#ifdef ANSI
+extern void unix_error(int errcode, char * cmdname, value arg);
+extern void uerror(char * cmdname, value arg);
+#else
+void unix_error();
+void uerror();
+#endif
+