You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-cdr/cdw/files/cdw-0.8.0-uclibc.patch

33 lines
740 B

--- cdw-0.8.0/src/main.c
+++ cdw-0.8.0-uclibc/src/main.c
@@ -44,7 +44,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifndef __UCLIBC__
#include <mcheck.h>
+#endif
#include <signal.h> /* sig_atomic_t */
#include <dirent.h> /* PATH_MAX */
--- cdw-0.8.0/src/tasks/cdw_create_image.c
+++ cdw-0.8.0-uclibc/src/tasks/cdw_create_image.c
@@ -21,6 +21,7 @@
#include <inttypes.h>
#include <stdlib.h>
+#include <unistd.h>
#include "cdw_file_manager.h"
#include "gettext.h"
--- cdw-0.8.0/src/utilities/cdw_utils.c
+++ cdw-0.8.0-uclibc/src/utilities/cdw_utils.c
@@ -28,6 +28,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <unistd.h>
#include "cdw_logging.h"
#include "gettext.h"