xref: /OK3568_Linux_fs/buildroot/package/musepack/0004-missing-sys-select.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Add missing <sys/select.h> include
2
3This header is needed when types like fd_set are used. This fixes a
4build issue occuring on the musl C library.
5
6Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7[Thomas: better commit log.]
8Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
10Index: b/mpcenc/mpcenc.h
11===================================================================
12--- a/mpcenc/mpcenc.h
13+++ b/mpcenc/mpcenc.h
14@@ -34,6 +34,7 @@
15 //// portable system includes //////////////////////////////////////
16 #include <stddef.h>
17 #include <math.h>
18+#include <sys/select.h>
19
20 //// system dependent system includes //////////////////////////////
21 // low level I/O, where are prototypes and constants?
22