[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-xorriso] musl libc build fix

From: Baruch Siach
Subject: [Bug-xorriso] musl libc build fix
Date: Tue, 24 May 2016 12:07:19 +0300
User-agent: Mutt/1.6.0 (2016-04-01)

Hi xorriso mailing list,

xorriso build with a musl libc (http://www.musl-libc.org/) toolchain fails 
because of a missing header include as follows:

-DHAVE_CONFIG_H -I.  -I./libburn -I./libisofs -I./libisoburn -I./xorriso 
-pedantic -Wall -Wextra -Wno-unused-parameter -Wno-char-subscripts 
-D_FILE_OFFSET_BITS=64  -Os  -c -o libisofs/xorriso_xorriso-fs_local.o `test -f 
'libisofs/fs_local.c' || echo './'`libisofs/fs_local.c
In file included from libisofs/fs_local.c:21:0:
libisofs/aaip_0_2.h:36:1: error: unknown type name 'ssize_t'
 ssize_t aaip_encode(size_t num_attrs, char **names,

The patch below fixes this issue:

diff -Nuar xorriso-1.4.2-orig/libisofs/aaip_0_2.h 
--- xorriso-1.4.2-orig/libisofs/aaip_0_2.h      2015-11-28 16:41:33.000000000 
+++ xorriso-1.4.2/libisofs/aaip_0_2.h   2016-05-24 11:40:43.874191174 +0300
@@ -16,6 +16,7 @@
 #ifndef Aaip_h_is_includeD
 #define Aaip_h_is_includeD yes
+#include <unistd.h>
 /* --------------------------------- Encoder ---------------------------- */
Please consider applying.


     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
   - address@hidden - tel: +972.2.679.5364, http://www.tkos.co.il -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]