From 02f330c93ac80680733ecb2b1f6c0b33e86b0dc3 Mon Sep 17 00:00:00 2001 From: James Carter Date: Wed, 13 Apr 2022 16:42:07 -0400 Subject: [PATCH] libsepol/tests Include policydb.h header for policydb_t declaration Since test-linker-cond-map.h and test-linker-types.h references policydb_t, include the policydb header file. Signed-off-by: James Carter --- 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 + 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 + extern void base_type_tests(policydb_t * base); extern void module_type_tests(policydb_t * base);