[alsa-devel] [TINYCOMPRESS][PATCH v3 7/7] tinycompress.h: explicitly include required headers
Qais Yousef
qais.yousef at imgtec.com
Tue May 5 12:21:11 CEST 2015
tinycompress.h was relying on other files to include linux/types.h and stdbool.h
which are required by it. Explicitly include it to fix compile errors when external
program tries to include this header.
Signed-off-by: Qais Yousef <qais.yousef at imgtec.com>
---
include/tinycompress/tinycompress.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h
index 03c396fccea5..68626a42e4e7 100644
--- a/include/tinycompress/tinycompress.h
+++ b/include/tinycompress/tinycompress.h
@@ -53,6 +53,9 @@
#ifndef __TINYCOMPRESS_H
#define __TINYCOMPRESS_H
+#include <linux/types.h>
+#include <stdbool.h>
+
#if defined(__cplusplus)
extern "C" {
#endif
--
2.1.0
More information about the Alsa-devel
mailing list