summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2006-12-12 02:12:03 +0000
committerTrent Lloyd <lathiat@bur.st>2006-12-12 02:12:03 +0000
commitfc2fc59b512cddcd54448144222de1d4e286e32e (patch)
tree4e2b07e99fa1b832faef971ad65e7acc8f4ba1fe
parentef98a3da45ebbc3bbf9601a3eef1a4eb65fb9a84 (diff)
* Really actually fix build on Linux <2.6.19
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1339 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-core/iface-linux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/avahi-core/iface-linux.c b/avahi-core/iface-linux.c
index 91fac65..c8ed9e0 100644
--- a/avahi-core/iface-linux.c
+++ b/avahi-core/iface-linux.c
@@ -30,6 +30,10 @@
#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))))
@@ -40,10 +44,6 @@
#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;