Bug#538372: [PATCH] net: Support inclusion of linux/socket.h before sys/socket.h

2009-10-05 Thread David Miller
From: Ben Hutchings b...@decadent.org.uk Date: Sun, 04 Oct 2009 04:42:44 +0100 From: Bastian Blank wa...@debian.org The following user-space program fails to compile: #include linux/socket.h #include sys/socket.h int main() { return 0; } The reason is that linux/socket.h

Bug#538372: [PATCH] net: Support inclusion of linux/socket.h before sys/socket.h

2009-10-04 Thread Bastian Blank
On Sun, Oct 04, 2009 at 04:42:44AM +0100, Ben Hutchings wrote: From: Bastian Blank wa...@debian.org The following user-space program fails to compile: #include linux/socket.h #include sys/socket.h int main() { return 0; } The reason is that linux/socket.h tests __GLIBC__ to

Bug#538372: [PATCH] net: Support inclusion of linux/socket.h before sys/socket.h

2009-10-03 Thread Ben Hutchings
From: Bastian Blank wa...@debian.org The following user-space program fails to compile: #include linux/socket.h #include sys/socket.h int main() { return 0; } The reason is that linux/socket.h tests __GLIBC__ to decide whether it should define various structures and macros that are