
27 Aug
2007
27 Aug
'07
5:36 p.m.
In message 1defaf580708270652j3bec3783s909fde25f9951f94@mail.gmail.com you wrote:
and below is the fix. Any reason why sha1.c includes <linux/string.h> instead of just <string.h>?
Because there is no "include/string.h" in U-Boot.
But there's usually a /usr/include/string.h installed with the host toolchain, no?
Sure. But sha1.c is (also) compiled and linked into the U-Boot binary, and thus it must never reference any headers from the host system.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Good manners are the settled medium of social, as specie is of
commercial, life; returns are equally expected for both.
- Lord Chesterfield _Letters to his Son_, 25 December 1753