summaryrefslogtreecommitdiff
path: root/lang/python25/patches/patch-ap
blob: 3fc5aba92647b793d6c20d100e26f9af37cfbdd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ap,v 1.1.1.1 2008/04/24 01:50:58 tnn Exp $

--- Modules/socketmodule.c.orig	2007-03-31 20:56:11.000000000 +0200
+++ Modules/socketmodule.c
@@ -357,7 +357,8 @@ const char *inet_ntop(int af, const void
 #define SOCKETCLOSE close
 #endif
 
-#if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)
+#if (defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)) && \
+    !defined(__NetBSD__) && !defined(__DragonFly__)
 #define USE_BLUETOOTH 1
 #if defined(__FreeBSD__)
 #define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP