libsemanage: include paired header for prototypes

context_record.c:11:13: warning: no previous prototype for ‘semanage_context_get_user’ [-Wmissing-prototypes]
       11 | const char *semanage_context_get_user(const semanage_context_t * con)
          |             ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2021-11-12 16:42:00 +01:00 committed by James Carter
parent 1927c1dfcc
commit 35273aa2bf
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ typedef sepol_context_t semanage_context_t;
#define _SEMANAGE_CONTEXT_DEFINED_
#include <semanage/context_record.h>
/* User */
const char *semanage_context_get_user(const semanage_context_t * con)
{