From: Kevin Day Date: Wed, 28 Apr 2021 01:52:45 +0000 (-0500) Subject: Bugfix: cap_mode_t is not available in legacy capability. X-Git-Tag: 0.5.3~10 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=83a371c0053dda13893db08b614e255e2c920604;p=fll Bugfix: cap_mode_t is not available in legacy capability. --- diff --git a/level_0/f_capability/c/capability-common.h b/level_0/f_capability/c/capability-common.h index 098cd78..f937431 100644 --- a/level_0/f_capability/c/capability-common.h +++ b/level_0/f_capability/c/capability-common.h @@ -39,6 +39,8 @@ extern "C" { typedef int cap_flag_value_t; typedef unsigned int cap_mode_t; typedef int cap_value_t; + #elif defined(_libcap_legacy_only_) + typedef unsigned int cap_mode_t; #endif // _di_libcap_ typedef cap_t f_capability_t;