diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/zsh_system.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 366087122..c34a50202 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-08-28 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> + + * 44709: Src/zsh_system.h: incluce sys/capability.h only if + HAVE_CAP_GET_PROC is defined + 2019-08-27 Peter Stephenson <p.stephenson@samsung.com> * Sebastian: 44712: configure.ac: prefer any form of ncurses to 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 |