From 6837c81d0e0f1cc6467ee850fdff0c62d8a95d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sun, 15 Nov 2020 00:37:19 +0000 Subject: [PATCH] build: Fix ssize_t detection on older versions of glibc --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 05dfff027..8832ff04f 100644 --- a/meson.build +++ b/meson.build @@ -1273,7 +1273,7 @@ sizet_size = cc.sizeof('size_t') if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl' ssizet_size = cc.sizeof('SSIZE_T', prefix : '#include ') else - ssizet_size = cc.sizeof('ssize_t') + ssizet_size = cc.sizeof('ssize_t', prefix : '#include ') endif # Some platforms (Apple) hard-code int64_t to long long instead of