]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
reorder the include files for FreeBSD
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 19 Sep 2023 20:55:44 +0000 (21:55 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 19 Sep 2023 20:55:44 +0000 (21:55 +0100)
nqptp-utilities.c

index 9964b22e3f330ee053fdf8edb00b58d6484a91f2..7c30877584446eba13c64fe279802fb7aef28d7c 100644 (file)
 #endif
 
 #ifdef CONFIG_FOR_FREEBSD
+#include <sys/types.h>
+#include <unistd.h>
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #include <sys/socket.h>
-#include <sys/types.h>
-#include <unistd.h>
 #endif
 
 #include <netdb.h>  // getaddrinfo etc.