summaryrefslogtreecommitdiff
path: root/byterun.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun.h')
-rw-r--r--byterun.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/byterun.h b/byterun.h
index fee8eda438..b8c557ccbb 100644
--- a/byterun.h
+++ b/byterun.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996 Malcolm Beattie
+ * Copyright (c) 1996, 1997 Malcolm Beattie
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -21,6 +21,13 @@ void byterun _((struct bytestream));
void byterun _((FILE *));
#endif /* INDIRECT_BGET_MACROS */
+#ifndef PATCHLEVEL
+#include "patchlevel.h"
+#endif
+#if PATCHLEVEL < 4 || (PATCHLEVEL == 4 && SUBVERSION < 50)
+#define dTHR extern int errno
+#endif
+
enum {
INSN_RET, /* 0 */
INSN_LDSV, /* 1 */