asterisk-1.8.x: fix chan_lantiq with musl
authorDaniel Golle <daniel@makrotopia.org>
Tue, 23 Jun 2015 17:42:46 +0000 (19:42 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 23 Jun 2015 17:42:46 +0000 (19:42 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/asterisk-1.8.x/src-lantiq/channels/chan_lantiq.c

index 6e2b5022c03c4511ebca637f65f518c250cb1386..153730920a345850131a4dda12fdccae6385c72e 100644 (file)
@@ -49,6 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision: xxx $")
 #include <arpa/inet.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <signal.h>
 #ifdef HAVE_LINUX_COMPILER_H
 #include <linux/compiler.h>