]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Put inclusion of sys/socket.h before net/if.h to prevent errors in OpenBSD compilation
authorMike Brady <mike@openbsd.aillwee.com>
Mon, 20 Aug 2018 19:14:28 +0000 (20:14 +0100)
committerMike Brady <mike@openbsd.aillwee.com>
Mon, 20 Aug 2018 19:14:28 +0000 (20:14 +0100)
shairport.c

index bd4025dc3efafbe11ad9728755ede9b3b8d7c447..057d4ed059b3dff8c0ffd5824ac86178b1e133f4 100644 (file)
 #include <libconfig.h>
 #include <libgen.h>
 #include <memory.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>