diff options
author | Thomas Jarosch <thomas.jarosch@intra2net.com> | 2008-10-23 15:41:27 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-23 15:41:27 +0200 |
commit | ecae0c3efc6851d767c759b77d897d113af821a0 (patch) | |
tree | 1ab4d5e9a45de60b44ff0af13ff27171e4b2ecaa /extensions/libxt_dccp.c | |
parent | 240eee607ab7e5bb9f671b7ceba40e2940182f61 (diff) |
Fix compile warnings using gcc 4.3.2
libxt_dccp.c: In function 'port_to_service':
libxt_dccp.c:196: warning: implicit declaration of function 'htons'
libxt_sctp.c: In function 'port_to_service':
libxt_sctp.c:321: warning: implicit declaration of function 'htons'
libxt_tcp.c: In function 'port_to_service':
libxt_tcp.c:220: warning: implicit declaration of function 'htons'
libxt_udp.c: In function 'port_to_service':
libxt_udp.c:104: warning: implicit declaration of function 'htons'
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libxt_dccp.c')
-rw-r--r-- | extensions/libxt_dccp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c index e1d6457d..e33ddc35 100644 --- a/extensions/libxt_dccp.c +++ b/extensions/libxt_dccp.c @@ -12,6 +12,7 @@ #include <netdb.h> #include <ctype.h> +#include <netinet/in.h> #include <xtables.h> #include <linux/dccp.h> #include <linux/netfilter/x_tables.h> |