diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2015-12-01 23:22:51 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-12-01 23:24:07 +0100 |
commit | cc257ee493bbf3261417908684dbff834d853ae6 (patch) | |
tree | cca896590d214d7bc90aad71fb8a76465438242b /package/alsa-lib/0001-add-missing-include.patch | |
parent | 2723fa4a5066b8820b4ff03e2912ccea9ea7c5e0 (diff) | |
parent | 01e3d2eff15eb2535c4c15eb4f62467a50fe6a5f (diff) | |
download | buildroot-cc257ee493bbf3261417908684dbff834d853ae6.tar.gz buildroot-cc257ee493bbf3261417908684dbff834d853ae6.zip |
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/alsa-lib/0001-add-missing-include.patch')
-rw-r--r-- | package/alsa-lib/0001-add-missing-include.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/alsa-lib/0001-add-missing-include.patch b/package/alsa-lib/0001-add-missing-include.patch new file mode 100644 index 0000000000..ac7dfa95c5 --- /dev/null +++ b/package/alsa-lib/0001-add-missing-include.patch @@ -0,0 +1,29 @@ +Subject: [PATCH] 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 <tiwai@suse.de> +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- +Status: upstream + +diff --git a/src/topology/parser.c b/src/topology/parser.c +index 80a0ae0..18bb9c7 100644 +--- a/src/topology/parser.c ++++ b/src/topology/parser.c +@@ -16,6 +16,7 @@ + Liam Girdwood <liam.r.girdwood@linux.intel.com> + */ + ++#include <sys/stat.h> + #include "list.h" + #include "tplg_local.h" + +-- +1.7.11.7 + |