summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/unix.c b/libavformat/unix.c
index 70696c0c0c..25af4101a1 100644
--- a/libavformat/unix.c
+++ b/libavformat/unix.c
@@ -26,6 +26,7 @@
*
*/
+#include <sys/socket.h>
#include <sys/un.h>
#include "libavutil/avstring.h"