Skip to content

Commit 54b1352

Browse files
Fix a compiler warning on FreeBSD.
1 parent 7a20612 commit 54b1352

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/socketmodule.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ typedef int socklen_t;
122122
#endif
123123

124124
#ifdef HAVE_BLUETOOTH_H
125+
#ifdef __FreeBSD__
126+
#define L2CAP_SOCKET_CHECKED
127+
#endif
125128
#include <bluetooth.h>
126129
#endif
127130

0 commit comments

Comments
 (0)