diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2009-10-05 00:24:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-05 00:24:36 -0700 |
commit | 9c501935a3cdcf6b1d35aaee3aa11c7a7051a305 (patch) | |
tree | 259b81d36f276f952ef6df08fe2d4500bb62d972 /firmware/cis/DP83903.cis.ihex | |
parent | 9240d7154e766ce6f3b615e81ed28f7562f509a5 (diff) | |
download | linux-9c501935a3cdcf6b1d35aaee3aa11c7a7051a305.tar.gz linux-9c501935a3cdcf6b1d35aaee3aa11c7a7051a305.tar.bz2 linux-9c501935a3cdcf6b1d35aaee3aa11c7a7051a305.zip |
net: Support inclusion of <linux/socket.h> before <sys/socket.h>
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 now defined for
user-space by <sys/socket.h>, but __GLIBC__ is not defined if no libc
headers have yet been included.
It seems safe to drop support for libc 5 now.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Bastian Blank <waldi@debian.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/cis/DP83903.cis.ihex')
0 files changed, 0 insertions, 0 deletions