From: Gregory P. Smith Date: Wed, 13 Oct 2010 03:39:47 +0000 (+0000) Subject: fix compliation on NetBSD X-Git-Tag: v3.2a4~642 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2501aca6281500ecc31cccdd4d78977c84c9e4f6;p=thirdparty%2FPython%2Fcpython.git fix compliation on NetBSD --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index eac5b4e4d0e8..94d5f7c42be3 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -379,7 +379,7 @@ dup_socket(SOCKET handle) #define SOCKETCLOSE close #endif -#if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H) && !defined(__NetBSD__) +#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