From: David Miller <davem@davemloft.net>
To: ben@decadent.org.uk
Cc: netdev@vger.kernel.org, waldi@debian.org, manuel@debian.org,
538372@bugs.debian.org
Subject: Re: [PATCH] net: Support inclusion of <linux/socket.h> before <sys/socket.h>
Date: Mon, 05 Oct 2009 00:24:45 -0700 (PDT) [thread overview]
Message-ID: <20091005.002445.248925509.davem@davemloft.net> (raw)
In-Reply-To: <1254627764.2395.48.camel@localhost>
From: Ben Hutchings <ben@decadent.org.uk>
Date: Sun, 04 Oct 2009 04:42:44 +0100
> From: Bastian Blank <waldi@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 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>
Fair enough, applied to net-2.6, thanks.
prev parent reply other threads:[~2009-10-05 7:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-04 3:42 Bug#538372: [PATCH] net: Support inclusion of <linux/socket.h> before <sys/socket.h> Ben Hutchings
2009-10-05 7:24 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091005.002445.248925509.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=538372@bugs.debian.org \
--cc=ben@decadent.org.uk \
--cc=manuel@debian.org \
--cc=netdev@vger.kernel.org \
--cc=waldi@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).