summaryrefslogtreecommitdiffstats
path: root/low-can-binding/utils/socketcan.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-06 11:31:50 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-08 00:17:29 +0100
commit9bf2d1243b3a2a95d6bfc4b2f2fb437e87ad7168 (patch)
tree5349ec0963e2012e593b3a60e5348b053bab4fd0 /low-can-binding/utils/socketcan.hpp
parent6ba06c1a7c8411e6f26c5c70443169ef2441cf86 (diff)
j1939: Following kernel updates
Compatatibility for latest kernel/glibc version See: https://github.com/torvalds/linux/commit/0768e17073dc527ccd18ed5f96ce85f9985e9115 Follow j1939 integration in the kernel which remove SO_J1939_RECV_OWN Bug-AGL: SPEC-2932 Change-Id: Id01e92330582da299af675676987cd667272e2c5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/utils/socketcan.hpp')
-rw-r--r--low-can-binding/utils/socketcan.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/low-can-binding/utils/socketcan.hpp b/low-can-binding/utils/socketcan.hpp
index a3b31591..7b2501af 100644
--- a/low-can-binding/utils/socketcan.hpp
+++ b/low-can-binding/utils/socketcan.hpp
@@ -21,6 +21,7 @@
#include <sys/socket.h>
#include <linux/can/bcm.h>
+#include <linux/sockios.h>
#include <string.h>
#include "../binding/low-can-hat.hpp"