summaryrefslogtreecommitdiffstats
path: root/ipset_iphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipset_iphash.c')
-rw-r--r--ipset_iphash.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/ipset_iphash.c b/ipset_iphash.c
index 9f02081..8110203 100644
--- a/ipset_iphash.c
+++ b/ipset_iphash.c
@@ -15,15 +15,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <arpa/inet.h>
-
-#include <linux/netfilter_ipv4/ip_set_iphash.h>
+#include <limits.h> /* UINT_MAX */
+#include <stdio.h> /* *printf */
+#include <string.h> /* mem* */
#include "ipset.h"
+#include <linux/netfilter_ipv4/ip_set_iphash.h>
+
#define BUFLEN 30;
#define OPT_CREATE_HASHSIZE 0x01U