[patch libiberty's include]: Fixes PR 39064 and partial PR 54620

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Jan 30 14:56:00 GMT 2013


Kai Tietz <ktietz70@googlemail.com> writes:

> Yes, this is a valid point.  The (u)int??_t types aren't necessarily
> declared by including sys/types.h.  So what's about the following
> patch.  If stdint.h header is present, then we should include it and
> then we can assume that the (u)int??_t types are present.

This is wrong: <stdint.h> provides e.g. uint32_t, but not u_int32_t.
The latter is a BSDism.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Binutils mailing list