]> git.meshlink.io Git - catta/commitdiff
* Also fix < 2.6.19 builds for avahi-autoipd.
authorTrent Lloyd <lathiat@bur.st>
Mon, 11 Dec 2006 22:43:57 +0000 (22:43 +0000)
committerTrent Lloyd <lathiat@bur.st>
Mon, 11 Dec 2006 22:43:57 +0000 (22:43 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1338 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-autoipd/iface-linux.c

index 13d289563518a5b050cb8807d27410acf876e621..2ad8a61ab53b0992205aab915a4d7db29a58c0cf 100644 (file)
 #include <avahi-common/llist.h>
 #include <avahi-common/malloc.h>
 
-#include <linux/if_addr.h>
 #ifndef IFLA_RTA
+#include <linux/if_addr.h>
 #define IFLA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
 #endif
 
 #ifndef IFA_RTA
+#include <linux/if_addr.h>
 #define IFA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
 #endif