[testsuite, Android] Add <stdlib.h> to pr56407.c

Andreas Schwab schwab@suse.de
Tue Aug 6 12:04:00 GMT 2013


Alexander Ivchenko <aivchenk@gmail.com> writes:

> Still, in C standart it is said that rand is defined in stdlib.h, and
> we don't include it in that testcase.

It also says: "Provided that a library function can be declared without
reference to any type defined in a header, it is also permissible to
declare the function and use it without including its associated
header."

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Gcc-patches mailing list