$NetBSD: patch-ab,v 1.1 2001/10/18 11:46:32 wiz Exp $

--- gdc_py.c.orig	Fri Mar 16 20:06:08 2001
+++ gdc_py.c
@@ -33,6 +33,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <assert.h>
+#include <limits.h>
+#define MAXSHORT SHRT_MAX
 
 #include "Python.h"
 #include "cStringIO.h"
