aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-13 11:41:28 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-02-13 11:56:39 +0300
commitdaae5ed942d2c8f247182a539308050736843d84 (patch)
treeb6d066f90d289facb7bf1dbdbd62acabd20af961 /contrib
parentfa88d08e86c015bbd104e08ef12ba78188de6cf5 (diff)
downloadydb-daae5ed942d2c8f247182a539308050736843d84.tar.gz
Disable unused bluetooth/ includes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tools/python3/src/Modules/socketmodule.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/tools/python3/src/Modules/socketmodule.h b/contrib/tools/python3/src/Modules/socketmodule.h
index 7d4d7d32e9..d55c02fd15 100644
--- a/contrib/tools/python3/src/Modules/socketmodule.h
+++ b/contrib/tools/python3/src/Modules/socketmodule.h
@@ -112,15 +112,15 @@ typedef int socklen_t;
#endif
#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
-#include <bluetooth/bluetooth.h>
-#include <bluetooth/rfcomm.h>
-#include <bluetooth/l2cap.h>
-#include <bluetooth/sco.h>
-#include <bluetooth/hci.h>
+#error #include <bluetooth/bluetooth.h>
+#error #include <bluetooth/rfcomm.h>
+#error #include <bluetooth/l2cap.h>
+#error #include <bluetooth/sco.h>
+#error #include <bluetooth/hci.h>
#endif
#ifdef HAVE_BLUETOOTH_H
-#include <bluetooth.h>
+#error #include <bluetooth.h>
#endif
#ifdef HAVE_NET_IF_H