summaryrefslogtreecommitdiff
path: root/lang/python24/patches/patch-ap
blob: 047a00224c5515a0c1b2348cf96b1374bfbb6203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ap,v 1.3 2008/02/22 13:03:25 joerg Exp $

--- Modules/socketmodule.c.orig	2006-10-10 16:20:41.000000000 +0000
+++ Modules/socketmodule.c
@@ -355,7 +355,8 @@ const char *inet_ntop(int af, const void
 #define SEGMENT_SIZE 65535
 #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