summaryrefslogtreecommitdiff
path: root/src/python/stdlib/plat-linux2/regen
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/stdlib/plat-linux2/regen')
-rwxr-xr-xsrc/python/stdlib/plat-linux2/regen8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/python/stdlib/plat-linux2/regen b/src/python/stdlib/plat-linux2/regen
new file mode 100755
index 0000000..c76950e
--- /dev/null
+++ b/src/python/stdlib/plat-linux2/regen
@@ -0,0 +1,8 @@
+#! /bin/sh
+case `uname` in
+Linux*) ;;
+*) echo Probably not on a Linux system 1>&2
+ exit 1;;
+esac
+set -v
+h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h