From df0119a5b075ed23d8d8a62614d0143a9267a2d1 Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Wed, 5 Jul 2017 14:19:51 +0200 Subject: [PATCH] caps: CAP_AUDIT_READ is not defined with Ubuntu 14 --- caps.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/caps.c b/caps.c index 89de38b..f19cdaf 100644 --- a/caps.c +++ b/caps.c @@ -73,7 +73,9 @@ static struct { VALSTR_STRUCT(CAP_SYSLOG), VALSTR_STRUCT(CAP_WAKE_ALARM), VALSTR_STRUCT(CAP_BLOCK_SUSPEND), +#if defined(CAP_AUDIT_READ) VALSTR_STRUCT(CAP_AUDIT_READ), +#endif /* defined(CAP_AUDIT_READ) */ }; /* *INDENT-ON* */