mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
44709: incluce sys/capability.h only if HAVE_CAP_GET_PROC is defined
This commit is contained in:
parent
2e87c3f3fb
commit
3da3fe770a
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue