summaryrefslogtreecommitdiff
path: root/profiles/osapi/midipix.h
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/osapi/midipix.h')
-rw-r--r--profiles/osapi/midipix.h4
1 files changed, 4 insertions, 0 deletions
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 <sys/socket.h>
+#undef AF_CAN
+
#endif