0004-missing-sys-select.patch 719 B

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