From 3da3fe770ade636d14438417b2c50b57658d1055 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Wed, 28 Aug 2019 09:39:13 +0900 Subject: 44709: incluce sys/capability.h only if HAVE_CAP_GET_PROC is defined --- Src/zsh_system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/zsh_system.h b/Src/zsh_system.h index e7d529b6e..85e198f2e 100644 --- a/Src/zsh_system.h +++ b/Src/zsh_system.h @@ -522,7 +522,7 @@ struct timespec { # define RLIMIT_VMEM RLIMIT_AS #endif -#ifdef HAVE_SYS_CAPABILITY_H +#if defined(HAVE_SYS_CAPABILITY_H) && defined(HAVE_CAP_GET_PROC) # include #endif -- cgit 1.4.1