diff options
| author | Furkan Onder <furkanonder@protonmail.com> | 2025-03-13 10:25:43 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-13 10:25:43 (GMT) |
| commit | e98d321bef16fa78f289c79bd332bf7a1cbf11b5 (patch) | |
| tree | 7339a1899b6c5ea773a559276af9d7392305169e /Modules/socketmodule.c | |
| parent | 93089c073661f5aa9f8cca574a3e223716728639 (diff) | |
| download | cpython-e98d321bef16fa78f289c79bd332bf7a1cbf11b5.zip cpython-e98d321bef16fa78f289c79bd332bf7a1cbf11b5.tar.gz cpython-e98d321bef16fa78f289c79bd332bf7a1cbf11b5.tar.bz2 | |
gh-130099: Fix CAN socket fallthrough annotation for NetBSD compatibility (#131026)
Diffstat (limited to 'Modules/socketmodule.c')
| -rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index aa6f9c2..9622dfe 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2258,7 +2258,9 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, switch (s->sock_proto) { #ifdef CAN_RAW case CAN_RAW: + #ifdef CAN_BCM _Py_FALLTHROUGH; + #endif #endif #ifdef CAN_BCM case CAN_BCM: |
