summaryrefslogtreecommitdiff
path: root/src/ipme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipme.c')
-rw-r--r--src/ipme.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ipme.c b/src/ipme.c
index de217cb..b3a1692 100644
--- a/src/ipme.c
+++ b/src/ipme.c
@@ -1,3 +1,5 @@
+#include "ipme.h"
+
#include <ifaddrs.h>
#include <net/if.h>
@@ -7,16 +9,17 @@
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
-#ifndef SIOCGIFCONF /* whatever works */
- #include <sys/sockio.h>
-#endif
+
#include "byte.h"
#include "ip.h"
#include "stralloc.h"
#include "hassalen.h"
#include "ipalloc.h"
-#include "ipme.h"
+
+#ifndef SIOCGIFCONF /* whatever works */
+ #include <sys/sockio.h>
+#endif
/** @file ipme.c
@brief ipme_is4, ipme_is6, ipme_is46, ipme_init