Bug#17450: marked as done (netinet/in.h and asm/byteorder.h have conflicting types for ntohl/htonl)
Your message dated Tue, 11 May 1999 07:15:52 -0700
with message-id <email@example.com>
and subject line Fixed or no longer applicable.
has caused the attached bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
(administrator, Debian bugs database)
Received: (at submit) by bugs.debian.org; 24 Jan 1998 18:56:03 +0000
Received: (qmail 2355 invoked from network); 24 Jan 1998 18:56:02 -0000
Received: from zeus.cs.hut.fi (firstname.lastname@example.org)
by 126.96.36.199 with SMTP; 24 Jan 1998 18:56:02 -0000
Received: from zeus.cs.hut.fi (localhost.cs.hut.fi [127.0.0.1])
by zeus.cs.hut.fi (8.8.7/8.8.7/Debian/GNU) with ESMTP id UAA06315
for <email@example.com>; Sat, 24 Jan 1998 20:57:38 +0200
From: Lars Wirzenius <firstname.lastname@example.org>
Subject: netinet/in.h and asm/byteorder.h have conflicting types for ntohl/htonl
Content-Type: text/plain; charset=us-ascii
Date: Sat, 24 Jan 1998 20:57:37 +0200
The following demonstrates the problem (don't worry about the filename
little-endian.c, it's not relevant):
$ cat little-endian.c
$ gcc -c little-endian.c
In file included from little-endian.c:2:
/usr/include/asm/byteorder.h:17: conflicting types for `ntohl'
/usr/include/netinet/in.h:198: previous declaration of `ntohl'
/usr/include/asm/byteorder.h:19: conflicting types for `htonl'
/usr/include/netinet/in.h:200: previous declaration of `htonl'
netinet/in.h is from libc. asm/byteorder.h is from kernel-headers-2.0.32
(2.0.32-3); this bug might be more appropriate for that package, I
don't know. I'm using an Alpha, and haven't checked whether the problem
exists on other platforms as well.