From: Takashi Iwai Date: Mon, 9 Nov 2015 12:37:26 +0000 (+0100) Subject: topology: Add missing include sys/stat.h X-Git-Tag: v1.1.1~31 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=3f1dba9a821b53b42001605f9a126a958804884f;p=alsa-lib.git topology: Add missing include sys/stat.h Necessary for proper definitions of S_IRUSR & co. Otherwise it results in compile errors with old glibc: parser.c: In function 'snd_tplg_build_file': parser.c:262: error: 'S_IRUSR' undeclared (first use in this function) parser.c:262: error: (Each undeclared identifier is reported only once parser.c:262: error: for each function it appears in.) Signed-off-by: Takashi Iwai --- diff --git a/src/topology/parser.c b/src/topology/parser.c index 80a0ae08..18bb9c79 100644 --- a/src/topology/parser.c +++ b/src/topology/parser.c @@ -16,6 +16,7 @@ Liam Girdwood */ +#include #include "list.h" #include "tplg_local.h"