From e43bbe2166fa92c5a574a4cbfe70423291816733 Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Mon, 13 Apr 2015 17:48:40 -0400 Subject: Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES. Patch courtesy of Joe Jevnik. --- Modules/socketmodule.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Modules/socketmodule.c') diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index fd20b174d3..7610b0c05d 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -6617,6 +6617,9 @@ PyInit__socket(void) PyModule_AddIntMacro(m, CAN_RAW_LOOPBACK); PyModule_AddIntMacro(m, CAN_RAW_RECV_OWN_MSGS); #endif +#ifdef HAVE_LINUX_CAN_RAW_FD_FRAMES + PyModule_AddIntMacro(m, CAN_RAW_FD_FRAMES); +#endif #ifdef HAVE_LINUX_CAN_BCM_H PyModule_AddIntMacro(m, CAN_BCM); PyModule_AddIntConstant(m, "CAN_BCM_TX_SETUP", TX_SETUP); -- cgit v1.2.1