[alsa-devel] [PATCH] topology: Include <linux/types.h> in API header file

mengdong.lin at linux.intel.com mengdong.lin at linux.intel.com
Fri Nov 6 13:39:36 CET 2015


From: Mengdong Lin <mengdong.lin at linux.intel.com>

Include <linux/types.h> in the API header file topology.h

The struct snd_tplg_stream_caps_template has a member "formats"
of type __le64. So <linux/types.h> is needed.

Signed-off-by: Mengdong Lin <mengdong.lin at linux.intel.com>

diff --git a/include/topology.h b/include/topology.h
index b631871..5ee67e2 100644
--- a/include/topology.h
+++ b/include/topology.h
@@ -21,6 +21,8 @@
 #ifndef __ALSA_TOPOLOGY_H
 #define __ALSA_TOPOLOGY_H
 
+#include <linux/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-- 
1.9.1



More information about the Alsa-devel mailing list