INT_MAX undeclared / limits.h
Till Maas
opensource at till.name
Wed Feb 13 17:09:26 UTC 2008
On Wed February 13 2008, Till Maas wrote:
> Is this really a bug in aireplay-ng, i.e. does it have to include limits.h
> where INT_MAX comes from, or is this a bug in some other package? Why was
> it not needed to include limits.h earlier, any ideas?
In Fedora 7 and 8, INT_MAX is already declared when arpa/inet.h is included,
i.e. this compiles:
#include <arpa/inet.h>
#include <stdio.h>
main() {
printf("%i", INT_MAX);
}
But I guess it won't compile in Rawhide. arpa/inet.h comes from glibc-headers
which is a subpackage of glibc, so is this a bug in glibc?
Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080213/338e33e5/attachment.sig>
More information about the fedora-devel-list
mailing list