"allocate.h" need to include "compat.h" for the definition of CHUNK but this header file is only include indirectly, via other files including "allocate.h". Fix this by adding "compat.h" in allocate.h Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- allocate.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/allocate.h b/allocate.h index cbddc2aa7..5137ae934 100644 --- a/allocate.h +++ b/allocate.h @@ -1,6 +1,8 @@ #ifndef ALLOCATE_H #define ALLOCATE_H +#include "compat.h" + struct allocation_blob { struct allocation_blob *next; unsigned int left, offset; -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html