]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology: Fix missing inclusion of ctype.h
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Jul 2015 14:34:50 +0000 (16:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jul 2015 15:10:42 +0000 (17:10 +0200)
Fix a compile warning:
  data.c:116:7: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/data.c

index ae664721935db06949b20fc3f1370dfd59835cd7..13e1e2bb60fb8185d90e54eff362811d9935afce 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "list.h"
 #include "tplg_local.h"
+#include <ctype.h>
 
 /* Get Private data from a file. */
 static int tplg_parse_data_file(snd_config_t *cfg, struct tplg_elem *elem)