bug-xorriso
[Top][All Lists]
Advanced

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

xorriso 1.5.6 build issue


From: Rui Chen
Subject: xorriso 1.5.6 build issue
Date: Thu, 8 Jun 2023 00:38:37 -0400

Hi,

It looks like xorriso 1.5.6 has some build issue as shown below:

  ./libisofs/rockridge.h:206:1: error: unknown type name 'ssize_t'; did you mean 'size_t'?
  ssize_t rrip_calc_len(Ecma119Image *t, Ecma119Node *n, int type, size_t space,
  ^~~~~~~
  size_t
  /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
  typedef __darwin_size_t        size_t;
                                 ^
  1 error generated.

This is the build patch
diff --git a/libisofs/rockridge.h b/libisofs/rockridge.h
index 5649eb7..01c4224 100644
--- a/libisofs/rockridge.h
+++ b/libisofs/rockridge.h
@@ -41,6 +41,8 @@

 #include "ecma119.h"

+/* For ssize_t */
+#include <unistd.h>

 #define SUSP_SIG(entry, a, b) ((entry->sig[0] == a) && (entry->sig[1] == b))

relates to https://github.com/Homebrew/homebrew-core/pull/133135

Thanks,
Rui


reply via email to

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