Commit 692f9a45 authored by Vinay Sajip's avatar Vinay Sajip

Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.

parent 682e2c30
...@@ -1589,7 +1589,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, ...@@ -1589,7 +1589,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
} }
#endif #endif
#ifdef AF_CAN #if defined(AF_CAN) && defined(CAN_RAW) && defined(CAN_BCM)
case AF_CAN: case AF_CAN:
switch (s->sock_proto) { switch (s->sock_proto) {
case CAN_RAW: case CAN_RAW:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment