summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorCharles-François Natali <cf.natali@gmail.com>2013-02-05 18:42:01 (GMT)
committerCharles-François Natali <cf.natali@gmail.com>2013-02-05 18:42:01 (GMT)
commit773e42dff813bb18cb25016ae1fe1ed0886fd484 (patch)
treed0a6331ff5cdd70f2d3e73ac851e626c8ebdb968 /Modules/socketmodule.h
parentc44911f49aeb0cdb54f006f99111b562b29fc46f (diff)
downloadcpython-773e42dff813bb18cb25016ae1fe1ed0886fd484.zip
cpython-773e42dff813bb18cb25016ae1fe1ed0886fd484.tar.gz
cpython-773e42dff813bb18cb25016ae1fe1ed0886fd484.tar.bz2
Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian
Thorne.
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r--Modules/socketmodule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index 48e0fd4..b83f9af 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -80,6 +80,10 @@ typedef int socklen_t;
#include <linux/can/raw.h>
#endif
+#ifdef HAVE_LINUX_CAN_BCM_H
+#include <linux/can/bcm.h>
+#endif
+
#ifdef HAVE_SYS_SYS_DOMAIN_H
#include <sys/sys_domain.h>
#endif