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 <jwcart2@gmail.com>
This commit is contained in:
James Carter 2022-04-13 16:42:07 -04:00
parent fd67b2f4b1
commit 02f330c93a
2 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -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);