diff options
author | /C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu> | 2008-10-25 12:50:34 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu> | 2008-10-25 12:50:34 +0000 |
commit | 894ebbc905ea760bab182513a74dc8bf3c2952cd (patch) | |
tree | ee73c1f0d37fc4dfcf2bee2f3afbe541218e3d01 /ipset.h | |
parent | 46fb717308d9d717439badd48c150e32a3508a90 (diff) |
2.4.3
- Include file <limits.h> was missing from userspace set type
modules.
Diffstat (limited to 'ipset.h')
-rw-r--r-- | ipset.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |