Karthik Nayak <karthik.188@xxxxxxxxx> writes: > diff --git a/attr.h b/attr.h > index 3fb40cced0..f4a2bedd68 100644 > --- a/attr.h > +++ b/attr.h > @@ -1,6 +1,8 @@ > #ifndef ATTR_H > #define ATTR_H > > +#include "hash.h" You only want "struct object_id" declared. Why include the whole file?