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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2882>
This commit is contained in:
Khem Raj 2022-08-12 22:42:28 -07:00 committed by Tim-Philipp Müller
parent de470d0932
commit 73947c7e5f

View file

@ -24,6 +24,8 @@
#include "config.h" #include "config.h"
#endif #endif
#include <ctype.h> /* isspace() */
#include <stdio.h> /* sscanf() */
#include <stdlib.h> /* atoi() */ #include <stdlib.h> /* atoi() */
#include <string.h> #include <string.h>