From: Rosen Penev Date: Tue, 4 Nov 2025 18:38:54 +0000 (-0800) Subject: meson: add header to size_t check X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c012da8a60dee634d51577b343acc6f3f72c437;p=thirdparty%2Fjson-c.git meson: add header to size_t check Might be needed under MSVC. --- diff --git a/meson.build b/meson.build index 43277e1..91c82a4 100644 --- a/meson.build +++ b/meson.build @@ -175,7 +175,7 @@ conf_data.set('SIZEOF_INT', cc.sizeof('int')) conf_data.set('SIZEOF_INT64_T', cc.sizeof('int64_t', prefix : '#include ')) conf_data.set('SIZEOF_LONG', cc.sizeof('long')) conf_data.set('SIZEOF_LONG_LONG', cc.sizeof('long long')) -conf_data.set('SIZEOF_SIZE_T', cc.sizeof('size_t')) +conf_data.set('SIZEOF_SIZE_T', cc.sizeof('size_t', prefix : '#include \n#include ')) else