summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-06-04 20:23:28 (GMT)
committerGuido van Rossum <guido@python.org>1991-06-04 20:23:28 (GMT)
commit065d71e271d753625e91cf2a7cd471ace5617928 (patch)
treebf950a0589937559953be76f2f6feb93cfddeae9 /Python/marshal.c
parent4410c758a17fdd8fa525138220e4aa443654a090 (diff)
downloadcpython-065d71e271d753625e91cf2a7cd471ace5617928.zip
cpython-065d71e271d753625e91cf2a7cd471ace5617928.tar.gz
cpython-065d71e271d753625e91cf2a7cd471ace5617928.tar.bz2
Declare errno, for prehistoric systems.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index b3986a8..94e6d3a 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -33,6 +33,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "marshal.h"
#include <errno.h>
+extern int errno;
#define TYPE_NULL '0'
#define TYPE_NONE 'N'