24 Mar
2015
24 Mar
'15
11:32 a.m.
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 --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