diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-12-10 10:51:12 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-12-10 10:51:12 +0000 |
commit | 985d254c909903787e4bbc517af30406e0e9df8b (patch) | |
tree | 403d862acdfce3eb2a228b1189374c95b614151e /sysdeps/unix/sysv/linux/check_pf.c | |
parent | b0ec19ce6e64c405fdd95c90a5d4212f86abea1f (diff) |
* sysdeps/unix/sysv/linux/netlinkaccess.h: Include linux/if_addr.hcvs/fedora-glibc-2_5_90-12
if IFA_MAX is not defined.
(IFA_RTA, IFA_PAYLOAD, IFLA_RTA, IFLA_PAYLOAD): Define if not
defined.
* sysdeps/unix/sysv/linux/check_pf.c: Include netlinkaccess.h
instead of asm/types.h, linux/netlink.h and linux/rtnetlink.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/check_pf.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/check_pf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index 13ccd7acb4..ebe4d699b1 100644 --- a/sysdeps/unix/sysv/linux/check_pf.c +++ b/sysdeps/unix/sysv/linux/check_pf.c @@ -27,13 +27,10 @@ #include <unistd.h> #include <sys/socket.h> -#include <asm/types.h> -#include <linux/netlink.h> -#include <linux/rtnetlink.h> - #include <not-cancel.h> #include <kernel-features.h> +#include "netlinkaccess.h" #ifndef IFA_F_TEMPORARY # define IFA_F_TEMPORARY IFA_F_SECONDARY |