]> git.meshlink.io Git - catta/commitdiff
* Really actually fix build on Linux <2.6.19
authorTrent Lloyd <lathiat@bur.st>
Tue, 12 Dec 2006 02:12:03 +0000 (02:12 +0000)
committerTrent Lloyd <lathiat@bur.st>
Tue, 12 Dec 2006 02:12:03 +0000 (02:12 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1339 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/iface-linux.c

index 91fac65437c05b4bcd4752a3ec44c61771bee83b..c8ed9e05c6e913a58b7a9e9c30f4690b4c513a05 100644 (file)
 
 #include <avahi-common/malloc.h>
 
 
 #include <avahi-common/malloc.h>
 
+#include "log.h"
+#include "iface.h"
+#include "iface-linux.h"
+
 #ifndef IFLA_RTA
 #include <linux/if_addr.h>
 #define IFLA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
 #ifndef IFLA_RTA
 #include <linux/if_addr.h>
 #define IFLA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
 #define IFA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
 #endif
 
 #define IFA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
 #endif
 
-#include "log.h"
-#include "iface.h"
-#include "iface-linux.h"
-
 static int netlink_list_items(AvahiNetlink *nl, uint16_t type, unsigned *ret_seq) {
     struct nlmsghdr *n;
     struct rtgenmsg *gen;
 static int netlink_list_items(AvahiNetlink *nl, uint16_t type, unsigned *ret_seq) {
     struct nlmsghdr *n;
     struct rtgenmsg *gen;