From 17d43908c978f81691c13107207b883cfbb930ee Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 24 Mar 2023 12:00:41 +0000 Subject: [PATCH] core - define _STAT_VER_LINUX that was not defined before for nsec stat we were not getting nsec stat info .. we forgot to define _STAT_VER_LINUX .. so define it. i believe bsd will work too... i hope. @fix --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 744904c9b3..0b9a451e0e 100644 --- a/meson.build +++ b/meson.build @@ -218,6 +218,10 @@ else error('System ' + host_machine.system() + ' not known') endif +if sys_linux or sys_bsd or sys_sun + config_h.set('_STAT_VER_LINUX', '1') +endif + if host_os == 'freebsd' or host_os == 'dragonfly' # This is necessary. We MUST use OpenSSL in base as bringing in from ports # can cause major issues (2 copies of the same library).