diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-01-31 12:34:17 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-01-31 12:34:17 +0000 |
commit | 12af0485f858c8eca9a8c9ed9894a8a60f975b4c (patch) | |
tree | 3126f0ddfe46bfc9d855254230ebaea2723451d2 /Modules/socketmodule.h | |
parent | update dependency information (diff) | |
download | cpython-12af0485f858c8eca9a8c9ed9894a8a60f975b4c.tar.gz cpython-12af0485f858c8eca9a8c9ed9894a8a60f975b4c.tar.bz2 cpython-12af0485f858c8eca9a8c9ed9894a8a60f975b4c.zip |
Patch #874083: Bluetooth support for socket module.
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r-- | Modules/socketmodule.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index 167d50711a2..9756a47ede2 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -32,6 +32,13 @@ # undef AF_UNIX #endif +#ifdef HAVE_BLUETOOTH_BLUETOOTH_H +#include <bluetooth/bluetooth.h> +#include <bluetooth/rfcomm.h> +#include <bluetooth/l2cap.h> +#include <bluetooth/sco.h> +#endif + #ifdef HAVE_NETPACKET_PACKET_H # include <sys/ioctl.h> # include <net/if.h> @@ -80,6 +87,11 @@ typedef struct { struct sockaddr_in6 in6; struct sockaddr_storage storage; #endif +#ifdef HAVE_BLUETOOTH_BLUETOOTH_H + struct sockaddr_l2 bt_l2; + struct sockaddr_rc bt_rc; + struct sockaddr_sco bt_sco; +#endif #ifdef HAVE_NETPACKET_PACKET_H struct sockaddr_ll ll; #endif |