diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-04-14 15:14:50 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-18 19:02:28 +0100 |
| commit | 7cd8dc41681313557d8fbdd185a5d6c68873ecdc (patch) | |
| tree | f9c1cc705fa29a79572cd926e212bf83044a0adc | |
| parent | aa35b472057ea8eea0853e4e88f1568e1921b1eb (diff) | |
| download | sparse-dev-7cd8dc41681313557d8fbdd185a5d6c68873ecdc.tar.gz | |
alloc: add missing #include "compat.h"
"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@gmail.com>
| -rw-r--r-- | allocate.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,8 @@ #ifndef ALLOCATE_H #define ALLOCATE_H +#include "compat.h" + struct allocation_blob { struct allocation_blob *next; unsigned int left, offset; |
