projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afcbce0
)
Fix implicit declaration of function 'htons'
author
Wolfgang Denk
<wd@denx.de>
Sat, 4 Apr 2009 14:14:51 +0000
(16:14 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 4 Apr 2009 15:58:19 +0000
(17:58 +0200)
Include <netinet/in.h> instead of <linux/in.h> to get htons()
prototpye.
Signed-off-by: Wolfgang Denk <wd@denx.de>
tools/ncb.c
patch
|
blob
|
history
diff --git
a/tools/ncb.c
b/tools/ncb.c
index 7e123f163dbf99c9135ac46a46de41560ec34ad6..30acbead5f3bfb7ec0e27719a388608b0a92e33c 100644
(file)
--- a/
tools/ncb.c
+++ b/
tools/ncb.c
@@
-1,7
+1,7
@@
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
-#include <
linux
/in.h>
+#include <
netinet
/in.h>
int main (int argc, char *argv[])
{