X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fimg2srec.c;h=f10379fe42b253f1c2ff5195fa9638fc99aeac87;hb=37566090766d61beef70c62986b90749920255d8;hp=b04abbd8b48976885e60340fe39432f2cad67652;hpb=2a2ed845c085eb093b69fa6382fcf7534bb1f4b0;p=u-boot diff --git a/tools/img2srec.c b/tools/img2srec.c index b04abbd8b4..f10379fe42 100644 --- a/tools/img2srec.c +++ b/tools/img2srec.c @@ -52,6 +52,7 @@ | INCLUDES |*************************************************************************/ +#include "os_support.h" #include #include #include @@ -61,8 +62,6 @@ #include #include -extern int errno; - /************************************************************************* | DEFINES |*************************************************************************/