Include limits.h in ipt_ACCOUNT_cl.c to work around compilation problems reported...
[libipt_ACCOUNT] / src / ipt_ACCOUNT_cl.c
index a1925ec..17a42c3 100644 (file)
@@ -8,6 +8,7 @@
  *                                                                         *
  ***************************************************************************/
 
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 
@@ -16,6 +17,9 @@
 #include <linux/netfilter_ipv4/ip_tables.h>
 #include <ipt_ACCOUNT_cl.h>
 
+#include <string.h>
+#include <stdlib.h>
+
 int ipt_ACCOUNT_init(struct ipt_ACCOUNT_context *ctx)
 {
     memset (ctx, 0, sizeof(struct ipt_ACCOUNT_context));