From 73947c7e5f22b868788e2f5f8862105b4eb018fd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 12 Aug 2022 22:42:28 -0700 Subject: [PATCH] ssaparse: include required system headers for isspace() and sscanf() functions Newer compilers ( clang 15 ) have turned stricter and errors out instead of warning on implicit function declations Fixes gstssaparse.c:297:12: error: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while (isspace(*t)) Part-of: --- subprojects/gst-plugins-base/gst/subparse/gstssaparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-plugins-base/gst/subparse/gstssaparse.c b/subprojects/gst-plugins-base/gst/subparse/gstssaparse.c index a9cdcd160c..d6fdb9c9fc 100644 --- a/subprojects/gst-plugins-base/gst/subparse/gstssaparse.c +++ b/subprojects/gst-plugins-base/gst/subparse/gstssaparse.c @@ -24,6 +24,8 @@ #include "config.h" #endif +#include /* isspace() */ +#include /* sscanf() */ #include /* atoi() */ #include