diff mbox

[TINYCOMPRESS,v2,7/7] tinycompress.h: explicitly include required headers

Message ID 1427193154-6753-8-git-send-email-qais.yousef@imgtec.com (mailing list archive)
State New, archived
Headers show

Commit Message

Qais Yousef March 24, 2015, 10:32 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.
---
 include/tinycompress/tinycompress.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

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