0001-fix-musl.patch 522 B

123456789101112131415161718
  1. daemon: fix build with musl
  2. musl requires the ttydefaults.h to be included explicitly for CEOF.
  3. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  4. ---
  5. diff -Nuar daemon-0.6.4-orig/daemon.c daemon-0.6.4/daemon.c
  6. --- daemon-0.6.4-orig/daemon.c 2010-06-12 16:37:00.000000000 +0300
  7. +++ daemon-0.6.4/daemon.c 2017-05-01 22:02:17.721413468 +0300
  8. @@ -665,6 +665,7 @@
  9. #ifdef _RESTORE_POSIX_SOURCE
  10. #define _POSIX_SOURCE
  11. #endif
  12. +#include <sys/ttydefaults.h>
  13. #include <sys/wait.h>
  14. #include <sys/stat.h>
  15. #include <sys/select.h>