[vlc-commits] dav1d: include errno.h until the headers do it

Steve Lhomme git at videolan.org
Fri Nov 9 17:14:25 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Nov  9 17:13:45 2018 +0100| [3fda6ce5fb2fc5ba09dda0c559421d418aa75444] | committer: Steve Lhomme

dav1d: include errno.h until the headers do it

Since the library returns EAGAIN.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3fda6ce5fb2fc5ba09dda0c559421d418aa75444
---

 modules/codec/dav1d.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index 7672b7c289..84d5a6b50f 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -28,11 +28,13 @@
 # include "config.h"
 #endif
 
+
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_codec.h>
 #include <vlc_timestamp_helper.h>
 
+#include <errno.h>
 #include <dav1d/dav1d.h>
 
 #include "../packetizer/iso_color_tables.h"



More information about the vlc-commits mailing list