summaryrefslogtreecommitdiffstats
path: root/ipset.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipset.h')
-rw-r--r--ipset.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipset.h b/ipset.h
index 12091ba..1c8b0c1 100644
--- a/ipset.h
+++ b/ipset.h
@@ -20,7 +20,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <getopt.h>
+#include <getopt.h> /* struct option */
+#include <stdint.h>
+#include <sys/types.h>
#include <linux/netfilter_ipv4/ip_set.h>
@@ -180,7 +182,7 @@ extern int string_to_number(const char *str, unsigned int min, unsigned int max,
extern void *ipset_malloc(size_t size);
extern char *ipset_strdup(const char *);
-extern void ipset_free(void **data);
+extern void ipset_free(void *data);
extern struct set *set_find_byname(const char *name);
extern struct set *set_find_byid(ip_set_id_t id);