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>
This commit is contained in:
Takashi Iwai 2015-11-09 13:37:26 +01:00
parent fe6b51c77a
commit 3f1dba9a82

View file

@ -16,6 +16,7 @@
Liam Girdwood <liam.r.girdwood@linux.intel.com> Liam Girdwood <liam.r.girdwood@linux.intel.com>
*/ */
#include <sys/stat.h>
#include "list.h" #include "list.h"
#include "tplg_local.h" #include "tplg_local.h"