From d856581aa9910c0d4162e0f78e175043cf55a2bd Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 16 Dec 2018 18:28:47 -0500 Subject: osapi: midipix.h: prevent the AF_CAN macro from misleading python. --- profiles/osapi/midipix.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'profiles/osapi') diff --git a/profiles/osapi/midipix.h b/profiles/osapi/midipix.h index 300e361..90bf421 100644 --- a/profiles/osapi/midipix.h +++ b/profiles/osapi/midipix.h @@ -24,4 +24,8 @@ #define GRND_RANDOM (0x02) #endif +/* sockets: AF_CAN (silly, but patch-free:-)) */ +#include +#undef AF_CAN + #endif -- cgit v1.2.3