From: Trent Lloyd Date: Mon, 11 Dec 2006 22:43:57 +0000 (+0000) Subject: * Also fix < 2.6.19 builds for avahi-autoipd. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=ef98a3da45ebbc3bbf9601a3eef1a4eb65fb9a84;p=catta * Also fix < 2.6.19 builds for avahi-autoipd. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1338 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-autoipd/iface-linux.c b/avahi-autoipd/iface-linux.c index 13d2895..2ad8a61 100644 --- a/avahi-autoipd/iface-linux.c +++ b/avahi-autoipd/iface-linux.c @@ -40,12 +40,13 @@ #include #include -#include #ifndef IFLA_RTA +#include #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) #endif #ifndef IFA_RTA +#include #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) #endif