]> git.alsa-project.org Git - tinycompress.git/commitdiff
tinycompress.h: explicitly include required headers
authorQais Yousef <qais.yousef@imgtec.com>
Tue, 5 May 2015 10:21:11 +0000 (11:21 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 6 May 2015 06:18:04 +0000 (11:48 +0530)
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@imgtec.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/tinycompress/tinycompress.h

index 03c396fccea5f2a176d24fd580ee6a447da657ec..68626a42e4e7b909ac5ada9fb6176676ca393af6 100644 (file)
@@ -53,6 +53,9 @@
 #ifndef __TINYCOMPRESS_H
 #define __TINYCOMPRESS_H
 
+#include <linux/types.h>
+#include <stdbool.h>
+
 #if defined(__cplusplus)
 extern "C" {
 #endif