Do not define _ISOC11_SOURCE in parser-sming.y It overrides _DEFAULT_SOURCE, thereby hiding the declaration of timegm in . This will result in build failures with future compilers that do not support implicit function declarations. Submitted upstream: diff --git a/lib/parser-sming.y b/lib/parser-sming.y index 555e570613ad689f..32bddeac93eac7e8 100644 --- a/lib/parser-sming.y +++ b/lib/parser-sming.y @@ -17,7 +17,7 @@ #ifdef BACKEND_SMING -#define _ISOC99_SOURCE + #include #include #include diff -up a/lib/parser-yang.y b/lib/parser-yang.y --- a/lib/parser-yang.y 2024-01-05 09:28:40.994847831 -0500 +++ b/lib/parser-yang.y 2024-01-05 09:28:54.247033152 -0500 @@ -20,7 +20,6 @@ #ifdef BACKEND_YANG -#define _ISOC99_SOURCE #include #include #include