Message145088
Ok, I found that linux/socket.h *is* actually included earlier, from /usr/include/linux/netlink.h. However, the AF_CAN definition appears only under the condition
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
...
#define AF_CAN 29 /* Controller Area Network */
...
#endif /* not kernel and not glibc */
#endif /* _LINUX_SOCKET_H */
which would imply that on this system at least, the AF_CAN definition is supposed to come from elsewhere. I did a recursive grep in /usr/include: the only place AF_CAN is defined is linux/socket.h. |
|
Date |
User |
Action |
Args |
2011-10-07 15:10:45 | vinay.sajip | set | recipients:
+ vinay.sajip, amaury.forgeotdarc, orsenthil, pitrou, vstinner, giampaolo.rodola, neologix, slanden, rosslagerwall, python-dev, ogait87, mluis |
2011-10-07 15:10:45 | vinay.sajip | set | messageid: <1318000245.3.0.236200539311.issue10141@psf.upfronthosting.co.za> |
2011-10-07 15:10:44 | vinay.sajip | link | issue10141 messages |
2011-10-07 15:10:44 | vinay.sajip | create | |
|