Skip to content

Commit ce192d8

Browse files
committed
Silence a deprecation warning
This is causing some CI builds to fail as we use -Werror Signed-off-by: Simo Sorce <simo@redhat.com>
1 parent 27c5907 commit ce192d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gp_selinux.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
#ifndef _GP_SELINUX_H_
44
#define _GP_SELINUX_H_
55

6+
typedef char * SEC_CTX;
7+
68
#ifdef HAVE_SELINUX
79

810
#include <selinux/context.h>
911
#define SELINUX_CTX context_t
1012
#include <selinux/selinux.h>
11-
#define SEC_CTX security_context_t
1213

1314
#define SELINUX_context_new context_new
1415
#define SELINUX_context_free context_free

0 commit comments

Comments
 (0)