mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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:
parent
de470d0932
commit
73947c7e5f
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <ctype.h> /* isspace() */
|
||||
#include <stdio.h> /* sscanf() */
|
||||
#include <stdlib.h> /* atoi() */
|
||||
#include <string.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue