cdw-0.8.0-uclibc.patch 740 B

123456789101112131415161718192021222324252627282930313233
  1. --- cdw-0.8.0/src/main.c
  2. +++ cdw-0.8.0-uclibc/src/main.c
  3. @@ -44,7 +44,9 @@
  4. #include <stdio.h>
  5. #include <stdlib.h>
  6. #include <string.h>
  7. +#ifndef __UCLIBC__
  8. #include <mcheck.h>
  9. +#endif
  10. #include <signal.h> /* sig_atomic_t */
  11. #include <dirent.h> /* PATH_MAX */
  12. --- cdw-0.8.0/src/tasks/cdw_create_image.c
  13. +++ cdw-0.8.0-uclibc/src/tasks/cdw_create_image.c
  14. @@ -21,6 +21,7 @@
  15. #include <inttypes.h>
  16. #include <stdlib.h>
  17. +#include <unistd.h>
  18. #include "cdw_file_manager.h"
  19. #include "gettext.h"
  20. --- cdw-0.8.0/src/utilities/cdw_utils.c
  21. +++ cdw-0.8.0-uclibc/src/utilities/cdw_utils.c
  22. @@ -28,6 +28,7 @@
  23. #include <sys/types.h>
  24. #include <sys/stat.h>
  25. #include <fcntl.h>
  26. +#include <unistd.h>
  27. #include "cdw_logging.h"
  28. #include "gettext.h"