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