summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-10-13 03:39:47 +0000
committerGregory P. Smith <greg@mad-scientist.com>2010-10-13 03:39:47 +0000
commitbf219df1f032d84707f9c9a2bf4e98068cbe3dff (patch)
tree414674e0a352f80dc92d2465d25734b9b034faef /Modules/socketmodule.c
parentd09934cc5e8ec4ff81d2fb38a8a18243b3f2261e (diff)
downloadcpython-bf219df1f032d84707f9c9a2bf4e98068cbe3dff.tar.gz
fix compliation on NetBSD
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index eac5b4e4d0..94d5f7c42b 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