On Wed, Apr 20, 2022 at 2:54 PM Petr Lautrbach <plautrba@xxxxxxxxxx> wrote: > > James Carter <jwcart2@xxxxxxxxx> writes: > > > Since test-linker-cond-map.h and test-linker-types.h references > > policydb_t, include the policydb header file. > > > > Signed-off-by: James Carter <jwcart2@xxxxxxxxx> > > For all 5 patches: > > Acked-by: Petr Lautrbach <plautrba@xxxxxxxxxx> > These patches have been merged. Thanks, Jim > > --- > > libsepol/tests/test-linker-cond-map.h | 2 ++ > > libsepol/tests/test-linker-types.h | 2 ++ > > 2 files changed, 4 insertions(+) > > > > diff --git a/libsepol/tests/test-linker-cond-map.h b/libsepol/tests/test-linker-cond-map.h > > index 148c6f62..740a722e 100644 > > --- a/libsepol/tests/test-linker-cond-map.h > > +++ b/libsepol/tests/test-linker-cond-map.h > > @@ -21,6 +21,8 @@ > > #ifndef __TEST_LINKER_COND_MAP_H__ > > #define __TEST_LINKER_COND_MAP_H__ > > > > +#include <sepol/policydb/policydb.h> > > + > > extern void base_cond_tests(policydb_t * base); > > extern void module_cond_tests(policydb_t * base); > > > > diff --git a/libsepol/tests/test-linker-types.h b/libsepol/tests/test-linker-types.h > > index 0c860ebf..acad5e0e 100644 > > --- a/libsepol/tests/test-linker-types.h > > +++ b/libsepol/tests/test-linker-types.h > > @@ -21,6 +21,8 @@ > > #ifndef __TEST_LINKER_TYPES_H__ > > #define __TEST_LINKER_TYPES_H__ > > > > +#include <sepol/policydb/policydb.h> > > + > > extern void base_type_tests(policydb_t * base); > > extern void module_type_tests(policydb_t * base); > > > > -- > > 2.34.1 >