[TINYCOMPRESS,v3,7/7] tinycompress.h: explicitly include required headers
diff mbox

Message ID 1430821271-15624-8-git-send-email-qais.yousef@imgtec.com
State New
Headers show

Commit Message

Qais Yousef May 5, 2015, 10:21 a.m. UTC
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>
---
 include/tinycompress/tinycompress.h | 3 +++
 1 file changed, 3 insertions(+)

Patch
diff mbox

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