Skip to content

Commit 19d00c1

Browse files
furkanonderplashchynski
authored andcommitted
pythongh-130099: Fix CAN socket fallthrough annotation for NetBSD compatibility (python#131026)
1 parent 0158b99 commit 19d00c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/socketmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2258,7 +2258,9 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
22582258
switch (s->sock_proto) {
22592259
#ifdef CAN_RAW
22602260
case CAN_RAW:
2261+
#ifdef CAN_BCM
22612262
_Py_FALLTHROUGH;
2263+
#endif
22622264
#endif
22632265
#ifdef CAN_BCM
22642266
case CAN_BCM:

0 commit comments

Comments
 (0)