Re: New glibc
On 12 Jan 1998, Mark W. Eichin wrote:
> As I posted earlier:
>
> > a major bug in libc6-dev (linux/socket.h and
> > bits/socket.h have *totally conflicting* definitions of SOCK_*, MSG_*,
This is very common in glibc. They want the programmer to
include *only* <sys/socket.h>, and not <linux/socket.h>. That way,
there won't be any conflict. Doesn't `strace' work without including
<linux/socket.h>?
Note: I can't use `#if 0', because the kernel and utilities
very related to the kernel wouldn't compile. I could use
`#ifndef _SYS_SOCKET_H', but IMHO that's too dirty.
`strace' (and almost all the programs) should be able to
compile without including anything from ``linux/''.
--
Juan Cespedes
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: