Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10141> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com