[sr-dev] git:5.1:0b6785d8: core: fix compile error related to missing T_OPT in older (<2.25) glibc (GH #2087)