summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;