From: James Jones Date: Thu, 4 Nov 2021 14:16:35 +0000 (-0500) Subject: Add #include to the ssize_t test program (#4303) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=909132566c8e42088865ec2f7012b8ec9d980d89;p=thirdparty%2Ffreeradius-server.git Add #include to the ssize_t test program (#4303) That's (at least one place) where ssize_t gets defined, so the test program can work as intended. (The header's there for Mac OS X as well.) --- diff --git a/configure b/configure index fd740722571..57eeb8794dc 100755 --- a/configure +++ b/configure @@ -15487,6 +15487,7 @@ else $as_nop #include #include + #include int main(int argc, char **argv) { return _Generic((ssize_t)(0), int64_t: 1, default: 0); diff --git a/m4/ax_cc.m4 b/m4/ax_cc.m4 index d948efc6b19..5dcc71fbba2 100644 --- a/m4/ax_cc.m4 +++ b/m4/ax_cc.m4 @@ -398,6 +398,7 @@ AC_CACHE_CHECK([if ssize_t == int64_t], [ax_cv_cc_ssize_same_as_int64],[ AC_LANG_SOURCE([ #include #include + #include int main(int argc, char **argv) { return _Generic((ssize_t)(0), int64_t: 1, default: 0);