Browse Source

toolchain/autoconf-lean: add check for ssize_t

This was provided by the old static config.site files and is required by
some software, i.e. freeswitch.

Signed-off-by: Sebastian Kemper <[email protected]>
Sebastian Kemper 4 years ago
parent
commit
6b7b064492
1 changed files with 2 additions and 1 deletions
  1. 2 1
      toolchain/autoconf-lean/patches/120-add-extra-checks.patch

+ 2 - 1
toolchain/autoconf-lean/patches/120-add-extra-checks.patch

@@ -29,7 +29,7 @@
  
  # Checks for typedefs, structures, and compiler characteristics.
  AC_TYPE_GETGROUPS
-@@ -217,6 +222,16 @@ AC_FUNC_STRTOLD
+@@ -217,6 +222,17 @@ AC_FUNC_STRTOLD
  AC_FUNC_UTIME_NULL
  AC_FUNC_VPRINTF
  
@@ -42,6 +42,7 @@
 +AC_CHECK_SIZEOF(unsigned long long)
 +AC_CHECK_SIZEOF(off_t)
 +AC_CHECK_SIZEOF(size_t)
++AC_CHECK_SIZEOF(ssize_t)
 +
  # Functions list scraped from musl 0.9.4 x86_64
  AC_CHECK_FUNCS([ \