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
This commit is contained in:
Carsten Haitzler 2023-03-24 12:00:41 +00:00
parent 81cba676d7
commit 17d43908c9
1 changed files with 4 additions and 0 deletions

View File

@ -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).