File udftools-include.patch of Package udftools
--- cdrwtool/main.c
+++ cdrwtool/main.c
@@ -22,6 +22,7 @@
#include <malloc.h>
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
--- cdrwtool/options.c
+++ cdrwtool/options.c
@@ -21,6 +21,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <malloc.h>
--- include/udf_endian.h
+++ include/udf_endian.h
@@ -24,6 +24,7 @@
#define __UDF_ENDIAN_H
#include "bswap.h"
+#include <string.h>
static inline lb_addr lelb_to_cpu(lb_addr in)
{
--- mkudffs/mkudffs.c
+++ mkudffs/mkudffs.c
@@ -22,6 +22,7 @@
#include <malloc.h>
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
--- mkudffs/options.c
+++ mkudffs/options.c
@@ -21,6 +21,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#include <malloc.h>
--- pktsetup/pktsetup.c
+++ pktsetup/pktsetup.c
@@ -18,6 +18,7 @@
*
*/
#include <stdio.h>
+#include <string.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
--- wrudf/ide-pc.c
+++ wrudf/ide-pc.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <errno.h>
#include <sys/ioctl.h>
--- wrudf/wrudf-cdr.c
+++ wrudf/wrudf-cdr.c
@@ -4,6 +4,7 @@
#include <stddef.h>
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "wrudf.h"
--- wrudf/wrudf-cdrw.c
+++ wrudf/wrudf-cdrw.c
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
--- wrudf/wrudf.c
+++ wrudf/wrudf.c
@@ -5,6 +5,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>