mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 14:05:22 +08:00
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:
parent
c6ab5b8247
commit
6560dbb89b
@ -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 *,
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user