summaryrefslogtreecommitdiff
path: root/net/py-pcap/files/patch-mk-constants.py
blob: a04f8e57d855a4c275b5d36f3192dbc72a3dee8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- mk-constants.py.orig	Sun Mar 19 17:21:07 2006
+++ mk-constants.py	Sun Mar 19 17:21:41 2006
@@ -79,6 +79,7 @@
 rcs = '   $Id: mk-constants.py,v 1.2 2004/06/07 05:34:49 wiml Exp $\n'
 fp.write(string.replace(rcs, '$', ''))
 fp.write('   Do not edit this file directly, it will be overwritten \n*/\n\n')
+fp.write('#define SWIG_PY_INT 1\n')
 fp.write('static struct swig_const_info const pcapmodule_DLT[] = {\n')
 for dlt in linktypes:
     fp.write('#ifdef %s\n' % (dlt,))