diff options
| author | David Lamparter <equinox@diac24.net> | 2016-05-15 13:57:11 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2016-05-15 13:57:11 +0200 |
| commit | 3dc9bd30e3e116cae4ca48c874a5ad571aa726c7 (patch) | |
| tree | cd059bf6580411a099c936fbfb8226b483a696df | |
| parent | 252068641357a34456e866e486542b02490eacbe (diff) | |
cethcan: compile-fix for linux can headers
| -rw-r--r-- | cethcan/socketcan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cethcan/socketcan.c b/cethcan/socketcan.c index 21b10fa..712116a 100644 --- a/cethcan/socketcan.c +++ b/cethcan/socketcan.c @@ -11,7 +11,7 @@ #ifndef CANFD_MAX_DLEN #define CANFD_MAX_DLEN 64 #endif -#ifndef CAN_RAW_FD_FRAMES +#if !(defined(CAN_RAW_FD_FRAMES) || defined(CANFD_MTU)) #define CAN_RAW_FD_FRAMES 5 struct canfd_frame { canid_t can_id; /* 32 bit CAN_ID + EFF/RTR/ERR flags */ |
