]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
Fix a FreeBSD compilation error.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 18 Apr 2023 14:05:59 +0000 (15:05 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 18 Apr 2023 14:05:59 +0000 (15:05 +0100)
nqptp-utilities.c

index 9d6a95dfc2a8d3a40897fe549faf8d35d7347bb2..040106962516cbc65b68712d44ea41e6976bd9cc 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.