]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix small compilation bug evident in FreeBSD
authorMike Brady <mikebrady@eircom.net>
Tue, 23 Jan 2018 10:18:02 +0000 (10:18 +0000)
committerMike Brady <mikebrady@eircom.net>
Tue, 23 Jan 2018 10:18:02 +0000 (10:18 +0000)
common.c
common.h

index 026ef50ceebb9d01f03dea75001a344159ee8d9c..f2d714d9227781649fe5e6f1f8cdf5f1f6a58a87 100644 (file)
--- a/common.c
+++ b/common.c
@@ -37,9 +37,6 @@
 #include <sys/wait.h>
 #include <time.h>
 #include <unistd.h>
-
-#include <sys/stat.h>
-
 #include "common.h"
 #include <assert.h>
 
index fc51da20ac0db6a6653d0395aa508efa125b873d..eac46bb620a7f9c23e4a0c060065831358585758 100644 (file)
--- a/common.h
+++ b/common.h
@@ -5,6 +5,7 @@
 #include <signal.h>
 #include <stdint.h>
 #include <sys/socket.h>
+#include <sys/stat.h>
 
 #include "audio.h"
 #include "config.h"