X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fbootp.c;h=34124b8fc2425d6fe70e3b5cd42ec159119670df;hb=5bcc6a8901020ce22a996ef438cfc7be7a0c3995;hp=b789eec0d7edc3966da5197c1f7bbe5a330ce609;hpb=e4a3d57dc79e8c94e3272c4a82b146df0fe3dda6;p=u-boot diff --git a/net/bootp.c b/net/bootp.c index b789eec0d7..34124b8fc2 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -17,6 +17,7 @@ #ifdef CONFIG_STATUS_LED #include #endif +#include #define BOOTP_VENDOR_MAGIC 0x63825363 /* RFC1048 Magic Cookie */ @@ -105,7 +106,7 @@ static int BootpCheckPkt(uchar *pkt, unsigned dest, unsigned src, unsigned len) */ static void BootpCopyNetParams(Bootp_t *bp) { - IPaddr_t tmp_ip; + __maybe_unused IPaddr_t tmp_ip; NetCopyIP(&NetOurIP, &bp->bp_yiaddr); #if !defined(CONFIG_BOOTP_SERVERIP)