summaryrefslogtreecommitdiff
path: root/src/ipme.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
commit20b85c03e751b4876fa3c92040464e483172b746 (patch)
tree734fadbfdbc143ec4465093857f4c239448715e0 /src/ipme.c
parenta6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff)
manual format adjustment
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