![Bernd Kuhls](/assets/img/avatar_default.png)
This commit adds two patches needed to fix musl related build issues in musepack: a missing <sys/select.h> inclusion, and an inclusion of <fpu_control.h> that should be made conditional on __GLIBC__. Fixes: http://autobuild.buildroot.net/results/6eb/6ebc9cbee3fc48f4f5b658d11b040ad62fb6607f/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: split the patch in two patches, add proper patch description.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
719 B
Diff
22 lines
719 B
Diff
Add missing <sys/select.h> include
|
|
|
|
This header is needed when types like fd_set are used. This fixes a
|
|
build issue occuring on the musl C library.
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
[Thomas: better commit log.]
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
Index: b/mpcenc/mpcenc.h
|
|
===================================================================
|
|
--- a/mpcenc/mpcenc.h
|
|
+++ b/mpcenc/mpcenc.h
|
|
@@ -34,6 +34,7 @@
|
|
//// portable system includes //////////////////////////////////////
|
|
#include <stddef.h>
|
|
#include <math.h>
|
|
+#include <sys/select.h>
|
|
|
|
//// system dependent system includes //////////////////////////////
|
|
// low level I/O, where are prototypes and constants?
|