]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Do not include sys/syscall.h if not available
authorDavid Engraf <david.engraf@sysgo.com>
Thu, 18 Nov 2021 13:08:35 +0000 (14:08 +0100)
committerDavid Engraf <david.engraf@sysgo.com>
Thu, 18 Nov 2021 13:08:35 +0000 (14:08 +0100)
commit319563bf31bacc6d97ccc054b07b792c15f60c99
treecab0cbc8db990992bc88165ac76698a1e8d7a117
parentaab112dd248a3e6fcbd8b18b35b3f97bd71a7bbf
Do not include sys/syscall.h if not available

Some platforms do not provide sys/syscall.h. The configure script already
checks for the existance of the file. Include sys/syscall.h only in case
HAVE_SYS_SYSCALL_H has been set.
include/fileutils.h
include/pidfd-utils.h
lib/cpuset.c
lib/randutils.c
schedutils/ionice.c
schedutils/sched_attr.h
sys-utils/hwclock.c