  		}
  
  		Py_BEGIN_ALLOW_THREADS
-diff -urN Python-2.6.4rc1/Parser/asdl_c.py Python-2.6.4rc1-haiku/Parser/asdl_c.py
---- Python-2.6.4rc1/Parser/asdl_c.py	2009-05-14 08:59:39.000000000 +0000
-+++ Python-2.6.4rc1-haiku/Parser/asdl_c.py	2009-05-14 08:56:28.000000000 +0000
+diff -urN Python-2.6.4/Parser/asdl_c.py Python-2.6.4-haiku/Parser/asdl_c.py
+--- Python-2.6.4/Parser/asdl_c.py	2009-05-14 08:59:39.000000000 +0000
++++ Python-2.6.4-haiku/Parser/asdl_c.py	2009-05-14 08:56:28.000000000 +0000
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env python
 +#! /bin/env python
  """Generate C code from an ASDL description."""
  
  # TO DO
-diff -urN Python-2.6.4rc1/Tools/scripts/h2py.py Python-2.6.4rc1-haiku/Tools/scripts/h2py.py
---- Python-2.6.4rc1/Tools/scripts/h2py.py	2009-05-14 08:59:42.000000000 +0000
-+++ Python-2.6.4rc1-haiku/Tools/scripts/h2py.py	2009-05-14 09:36:12.000000000 +0000
+diff -urN Python-2.6.4/Tools/scripts/h2py.py Python-2.6.4-haiku/Tools/scripts/h2py.py
+--- Python-2.6.4/Tools/scripts/h2py.py	2009-05-14 08:59:42.000000000 +0000
++++ Python-2.6.4-haiku/Tools/scripts/h2py.py	2009-05-14 09:36:12.000000000 +0000
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env python
 +#! /bin/env python

 *) LIBM=-lm
 esac
 AC_MSG_CHECKING(for --with-libm=STRING)
diff -urN Python-2.6.4rc1/setup.py Python-2.6.4rc1-haiku/setup.py
--- Python-2.6.4rc1/setup.py	2009-05-14 08:59:40.000000000 +0000
+++ Python-2.6.4rc1-haiku/setup.py	2009-05-14 08:56:29.000000000 +0000
@@ -382,6 +382,9 @@
             inc_dirs += ['/system/include', '/atheos/autolnk/include']
             inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)

+
+set -v
+python $H2PY -i '(u_long)' $HEADERS/posix/netinet/in.h
diff -urN Python-2.6.4/Modules/resource.c Python-2.6.4-haiku/Modules/resource.c
--- Python-2.6.4/Modules/resource.c	2009-05-14 08:59:56.000000000 +0000
+++ Python-2.6.4-haiku/Modules/resource.c	2009-05-14 08:56:28.000000000 +0000
@@ -86,6 +86,7 @@
 			PyFloat_FromDouble(doubletime(ru.ru_utime)));
 	PyStructSequence_SET_ITEM(result, 1,
