summaryrefslogtreecommitdiff
path: root/lang/python24/patches/patch-ap
blob: c3ba93de1fb614fabb14d403f06fc87dcadd3376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ap,v 1.1 2006/06/20 13:29:01 tron Exp $

--- Modules/socketmodule.c.orig	2006-02-20 09:42:37.000000000 +0000
+++ Modules/socketmodule.c	2006-06-20 14:23:33.000000000 +0100
@@ -341,7 +341,8 @@
 #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__)
 #define USE_BLUETOOTH 1
 #if defined(__FreeBSD__)
 #define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP