fix build warnings

Fix problems from recent if.h related changes.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
This commit is contained in:
Stephen Hemminger 2007-06-20 10:55:18 -07:00
parent c6ab5b8247
commit 6560dbb89b
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ enum exittype {
/* this is a special 64bit data type that is 8-byte aligned */
#define aligned_u64 unsigned long long __attribute__((aligned(8)))
extern void exit_printhelp() __attribute__((noreturn));
extern void exit_printhelp(void) __attribute__((noreturn));
extern void exit_tryhelp(int) __attribute__((noreturn));
int check_inverse(const char option[], int *invert, int *optind, int argc);
extern int string_to_number(const char *,

View File

@ -15,6 +15,7 @@
#ifndef _IPTABLES_H
#define _IPTABLES_H
#include <linux/if.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter/x_tables.h>