summaryrefslogtreecommitdiffstats
path: root/Lib/plat-linux2/regen
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-22 21:50:43 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-22 21:50:43 (GMT)
commit77c29a17342c66dc603660230dd47f6fd07a44c9 (patch)
treedd7d9e247e1fcac0c36fe54f72267e41c1c3fe1f /Lib/plat-linux2/regen
parent56b6fa98b6202e94b8965ea5bcc4c78c0aab8683 (diff)
downloadcpython-77c29a17342c66dc603660230dd47f6fd07a44c9.zip
cpython-77c29a17342c66dc603660230dd47f6fd07a44c9.tar.gz
cpython-77c29a17342c66dc603660230dd47f6fd07a44c9.tar.bz2
This is needed for users of Linux 2.x
Diffstat (limited to 'Lib/plat-linux2/regen')
-rwxr-xr-xLib/plat-linux2/regen11
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/plat-linux2/regen b/Lib/plat-linux2/regen
new file mode 100755
index 0000000..d8dbc04
--- /dev/null
+++ b/Lib/plat-linux2/regen
@@ -0,0 +1,11 @@
+#! /bin/sh
+case `uname` in
+Linux*) ;;
+*) echo Probably not on a Linux system 1>&2
+ exit 1;;
+esac
+set -v
+h2py /usr/include/sys/fcntl.h
+h2py /usr/include/sys/socket.h
+h2py -i '(u_long)' /usr/include/netinet/in.h
+h2py /usr/include/termios.h