1 Subject: [PATCH] topology: Add missing include sys/stat.h
3 Necessary for proper definitions of S_IRUSR & co. Otherwise it
4 results in compile errors with old glibc:
5 parser.c: In function 'snd_tplg_build_file':
6 parser.c:262: error: 'S_IRUSR' undeclared (first use in this function)
7 parser.c:262: error: (Each undeclared identifier is reported only once
8 parser.c:262: error: for each function it appears in.)
10 Signed-off-by: Takashi Iwai <tiwai@suse.de>
11 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
15 diff --git a/src/topology/parser.c b/src/topology/parser.c
16 index 80a0ae0..18bb9c7 100644
17 --- a/src/topology/parser.c
18 +++ b/src/topology/parser.c
20 Liam Girdwood <liam.r.girdwood@linux.intel.com>
23 +#include <sys/stat.h>
25 #include "tplg_local.h"