These were somehow never added to CVS.
diff --git a/Lib/plat-darwin/regen b/Lib/plat-darwin/regen
new file mode 100755
index 0000000..a20cdc1
--- /dev/null
+++ b/Lib/plat-darwin/regen
@@ -0,0 +1,3 @@
+#! /bin/sh
+set -v
+python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h