]> rtime.felk.cvut.cz Git - socketcan-simulink.git/blobdiff - blocks/tlc_c/rpp_can_common.tlc
The first round of changes to port RPP code to Linux SocketCAN.
[socketcan-simulink.git] / blocks / tlc_c / rpp_can_common.tlc
index 9a464cf44309cdde6b28db66d29d15f28c833831..e38b474d3810c4731bc75e2b5c84607507b24963 100644 (file)
        %foreach i = 3  %% We have 3 CAN controllers
          %addtorecord Rpp.Can Ctrl {}
        %endforeach
+
+       %<LibAddToCommonIncludes("<stdio.h>")>
+       %<LibAddToCommonIncludes("<sys/socket.h>")>
+       %<LibAddToCommonIncludes("<net/if.h>")>
+       %<LibAddToCommonIncludes("<sys/ioctl.h>")>
+       %<LibAddToCommonIncludes("<linux/can.h>")>
+       %<LibAddToCommonIncludes("<linux/can/raw.h>")>
+       %<LibAddToCommonIncludes("<fcntl.h>")>
+       %<LibAddToCommonIncludes("<errno.h>")>
   %endif
 %endfunction