summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-12-29 19:56:08 +0100
committerFelix Fietkau <nbd@nbd.name>2022-12-29 19:56:09 +0100
commita3fab0119ef138737dc6acec39f2c9dda87bcbc1 (patch)
tree2da2ecfd30cd466ac9666729d71a34d42767576e
parente9f44189ade7d6dc51d862a64a9b2c0d10493dcc (diff)
downloadnetifd-a3fab0119ef138737dc6acec39f2c9dda87bcbc1.tar.gz
utils: include utils.h last
Fixes conflict with some system headers that use the fallthrough keyword Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 4f40b4b..8997b48 100644
--- a/utils.c
+++ b/utils.c
@@ -13,7 +13,6 @@
*/
#include <string.h>
#include <stdlib.h>
-#include "utils.h"
#include <arpa/inet.h>
#include <netinet/in.h>
@@ -23,6 +22,8 @@
#include <libproc.h>
#endif
+#include "utils.h"
+
void
__vlist_simple_init(struct vlist_simple_tree *tree, int offset)
{