]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
iptaccount: fix a compile warning
authorJan Engelhardt <jengelh@medozas.de>
Mon, 9 Nov 2009 15:00:25 +0000 (16:00 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 9 Nov 2009 15:00:25 +0000 (16:00 +0100)
iptaccount.c: In function 'addr_to_dotted':
iptaccount.c:42: warning: implicit declaration of function 'htonl'

extensions/ACCOUNT/iptaccount.c

index e81488c32ac6109c7a87d28be040320d01d88fcb..04eefcbb64b50d3ce7daa54bfd10b3a1682c1e45 100644 (file)
@@ -21,6 +21,7 @@
 #include <getopt.h>
 #include <signal.h>
 
+#include <arpa/inet.h>
 #include <linux/types.h>
 #include <libxt_ACCOUNT_cl.h>