libsepol: include necessary headers in headers

Include policydb header file required for typedef policydb_t.

This is for example helpful when working with an IDE, which needs to
resolve those symbols.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
Christian Göttsche 2022-07-13 15:43:42 +02:00 committed by James Carter
parent 12beafe7ce
commit 85e73a22ff
2 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,8 @@
#ifndef __SEPOL_UTIL_H__
#define __SEPOL_UTIL_H__
#include <sepol/policydb/policydb.h>
#ifdef __cplusplus
extern "C" {
#endif

View file

@ -25,6 +25,7 @@
#include "policydb_internal.h"
#include <sepol/policydb/context.h>
#include <sepol/policydb/policydb.h>
#include "handle.h"
extern int mls_from_string(sepol_handle_t * handle,