This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients amaury.forgeotdarc, giampaolo.rodola, mluis, neologix, ogait87, orsenthil, pitrou, python-dev, rosslagerwall, slanden, vinay.sajip, vstinner
Date 2011-10-07.15:10:44
SpamBayes Score 0.00050419883
Marked as misclassified No
Message-id <1318000245.3.0.236200539311.issue10141@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-10-07 15:10:45vinay.sajipsetrecipients: + vinay.sajip, amaury.forgeotdarc, orsenthil, pitrou, vstinner, giampaolo.rodola, neologix, slanden, rosslagerwall, python-dev, ogait87, mluis
2011-10-07 15:10:45vinay.sajipsetmessageid: <1318000245.3.0.236200539311.issue10141@psf.upfronthosting.co.za>
2011-10-07 15:10:44vinay.sajiplinkissue10141 messages
2011-10-07 15:10:44vinay.sajipcreate