[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091005.002445.248925509.davem@davemloft.net>
Date: Mon, 05 Oct 2009 00:24:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ben@...adent.org.uk
Cc: netdev@...r.kernel.org, waldi@...ian.org, manuel@...ian.org,
538372@...s.debian.org
Subject: Re: [PATCH] net: Support inclusion of <linux/socket.h> before
<sys/socket.h>
From: Ben Hutchings <ben@...adent.org.uk>
Date: Sun, 04 Oct 2009 04:42:44 +0100
> From: Bastian Blank <waldi@...ian.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 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@...adent.org.uk>
Fair enough, applied to net-2.6, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists