diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2019-08-28 09:39:13 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2019-08-28 09:39:13 +0900 |
| commit | 3da3fe770ade636d14438417b2c50b57658d1055 (patch) | |
| tree | 5c2fadcd3777b3a5cf1c39d2fb8858a8db4d449c /Src | |
| parent | 44712: Prefer any variety of ncurses to other terminal libraries. (diff) | |
| download | zsh-3da3fe770ade636d14438417b2c50b57658d1055.tar zsh-3da3fe770ade636d14438417b2c50b57658d1055.tar.gz zsh-3da3fe770ade636d14438417b2c50b57658d1055.tar.bz2 zsh-3da3fe770ade636d14438417b2c50b57658d1055.tar.lz zsh-3da3fe770ade636d14438417b2c50b57658d1055.tar.xz zsh-3da3fe770ade636d14438417b2c50b57658d1055.tar.zst zsh-3da3fe770ade636d14438417b2c50b57658d1055.zip | |
44709: incluce sys/capability.h only if HAVE_CAP_GET_PROC is defined
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/zsh_system.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <sys/capability.h> #endif |
