b9e4417ca5
Tested with the example from http://www.bencz.com/hacks/2016/07/10/python-and-socketcan/ Needs <netcan/can.h> rev 1.3 or newer.
15 lines
394 B
C
15 lines
394 B
C
$NetBSD: patch-Modules_socketmodule.h,v 1.1 2017/05/30 14:04:53 bouyer Exp $
|
|
|
|
--- Modules/socketmodule.h.orig 2017-01-17 08:57:45.000000000 +0100
|
|
+++ Modules/socketmodule.h 2017-05-30 15:51:47.251527645 +0200
|
|
@@ -84,6 +84,10 @@
|
|
#include <linux/can/bcm.h>
|
|
#endif
|
|
|
|
+#ifdef HAVE_NETCAN_CAN_H
|
|
+#include <netcan/can.h>
|
|
+#endif
|
|
+
|
|
#ifdef HAVE_SYS_SYS_DOMAIN_H
|
|
#include <sys/sys_domain.h>
|
|
#endif
|