From: Wolfgang Denk Date: Sat, 4 Apr 2009 17:57:46 +0200 Subject: [U-Boot] [PATCH V2] Fix implicit declaration of function 'htons' Message-ID: <1238860666-3666-1-git-send-email-wd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Include instead of to get htons() prototpye. Signed-off-by: Wolfgang Denk --- V2: Make commit message and code agree: use netinet/in.h instead of arpa/inet.h as this seems to be more common. tools/ncb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/ncb.c b/tools/ncb.c index 7e123f1..c240d83 100644 --- a/tools/ncb.c +++ b/tools/ncb.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include int main (int argc, char *argv[]) { -- 1.6.0.6