  #ifdef HAVE_BLUETOOTH_BLUETOOTH_H
  #include <bluetooth/bluetooth.h>
  #include <bluetooth/rfcomm.h>
-diff -urN Python-2.6.4/Modules/spwdmodule.c Python-2.6.4-haiku/Modules/spwdmodule.c
---- Python-2.6.4/Modules/spwdmodule.c	2009-05-14 08:59:57.000000000 +0000
-+++ Python-2.6.4-haiku/Modules/spwdmodule.c	2009-05-14 08:56:28.000000000 +0000
+diff -ruN Python-2.6.4/Modules/spwdmodule.c Python-2.6.4-haiku/Modules/spwdmodule.c
+--- Python-2.6.4/Modules/spwdmodule.c	2008-06-08 22:58:54.000000000 -0600
++++ Python-2.6.4-haiku/Modules/spwdmodule.c	2009-10-27 13:31:08.000000000 -0600
 @@ -79,7 +79,9 @@
  
  	SETS(setIndex++, p->sp_namp);

 	# -u libsys_s pulls in all symbols in libsys
 	Darwin/*) 
 		# -u _PyMac_Error is needed to pull in the mac toolbox glue,
@@ -1887,6 +1887,9 @@
 BeOS*)
 AC_CHECK_LIB(net, socket, [LIBS="-lnet $LIBS"], [], $LIBS) # BeOS
 ;;

             math_libs = []
 
         # XXX Omitted modules: gl, pure, dl, SGI-specific modules
@@ -1065,7 +1069,7 @@
                 missing.append('resource')
 
             # Sun yellow pages. Some systems have the functions in libc.
