mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
The cap_get_bound() function and CAP_IS_SUPPORTED macro were added in libcap-2.21. Check if the macro is defined before use. The sys/capability.h header from libcap-2.16 and earlier disables the linux/types.h header, which breaks the linux/ptp_clock.h header. Change the order to include sys/capability.h as the last system header.
24 KiB
24 KiB