package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / alsa-lib / 0001-add-missing-include.patch
blobac7dfa95c577635f91b978ffe918db692a085173
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>
12 ---
13 Status: upstream
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
19 @@ -16,6 +16,7 @@
20 Liam Girdwood <liam.r.girdwood@linux.intel.com>
23 +#include <sys/stat.h>
24 #include "list.h"
25 #include "tplg_local.h"
27 --
28 1.7.11.7