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:01:40
SpamBayes Score 0.000106754
Marked as misclassified No
Message-id <>
Just to test, I added the full absolute path name in socketmodule.h:

#include "/usr/include/linux/socket.h"
#include <linux/can.h>

Now, the snippet from pre-processing is:

# 182 "/usr/include/linux/tipc.h" 3 4
struct sockaddr_tipc {
 unsigned short family;
 unsigned char addrtype;
 signed char scope;
 union {
  struct tipc_portid id;
  struct tipc_name_seq nameseq;
  struct {
   struct tipc_name name;
   __u32 domain;
  } name;
 } addr;
# 73 "/home/vinay/projects/python/default/Modules/socketmodule.h" 2

# 1 "/usr/include/linux/socket.h" 1
# 77 "/home/vinay/projects/python/default/Modules/socketmodule.h" 2
# 1 "/usr/include/linux/can.h" 1 3 4
# 41 "/usr/include/linux/can.h" 3 4

This implies that the linux/socket.h file is not being read at all. First part of linux/socket.h is:

Date User Action Args
2011-10-07 15:01:41vinay.sajipsetrecipients: + vinay.sajip, amaury.forgeotdarc, orsenthil, pitrou, vstinner, giampaolo.rodola, neologix, slanden, rosslagerwall, python-dev, ogait87, mluis
2011-10-07 15:01:41vinay.sajipsetmessageid: <>
2011-10-07 15:01:41vinay.sajiplinkissue10141 messages
2011-10-07 15:01:40vinay.sajipcreate