[CMake] using arm toolchain and having issues with linux socket can
Rolf Eike Beer
eike at sf-mail.de
Sat Sep 17 03:19:29 EDT 2016
Am Freitag, 16. September 2016, 22:54:25 schrieb Gunter, Walter E:
> Ah..got ya.
> There are two in my toolchain:
> Sys/socket.h
> Linux/socket.h
>
> I couldn't find AF_CAN or PF_CAN defined in the sys one, but it is in the
> linux.
I included it, but still getting the error when building that it
> can't find it.
I already told you it's sys/socket.h. In fact it's bits/socket.h, but the
bits/* stuff should never be included directly. But it is included in
sys/socket.h, so just use this.
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160917/86c8af71/attachment-0001.sig>
More information about the CMake
mailing list