1
0
Fork 0
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:
Jun-ichi Takimoto 2019-08-28 09:39:13 +09:00
parent 2e87c3f3fb
commit 3da3fe770a
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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