0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch 563 B

12345678910111213141516
  1. examples/testd.c: As the C POSIX library recommends include the <unistd.h>
  2. instead of <sys/unistd.h>. This removes an error when building libdaemon
  3. against the musl C library.
  4. Signed-off-by: Jörg Krause <jkrause@posteo.de>
  5. --- libdaemon-0.14.orig/examples/testd.c 2014-08-30 00:27:08.359832977 +0200
  6. +++ libdaemon-0.14/examples/testd.c 2014-08-30 00:27:25.439832670 +0200
  7. @@ -23,7 +23,7 @@
  8. #include <string.h>
  9. #include <sys/types.h>
  10. #include <sys/time.h>
  11. -#include <sys/unistd.h>
  12. +#include <unistd.h>
  13. #include <sys/select.h>
  14. #include <libdaemon/dfork.h>