From: Xi Ruoyao Date: Sat, 30 Mar 2024 16:42:03 +0000 (+0800) Subject: include: Include in pidfd-utils.h for syscall() X-Git-Tag: v2.42-start~444^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10add327c608b11b3d70215048aade4d1797b1fd;p=thirdparty%2Futil-linux.git include: Include in pidfd-utils.h for syscall() In Glibc, only contains SYS_* macros and the syscall() function is in . So include it. Signed-off-by: Xi Ruoyao --- diff --git a/include/pidfd-utils.h b/include/pidfd-utils.h index ff0bc4c79..0ee55f3ba 100644 --- a/include/pidfd-utils.h +++ b/include/pidfd-utils.h @@ -7,6 +7,7 @@ #ifdef HAVE_SYS_SYSCALL_H # include +# include /* * If the kernel headers are too old to provide the syscall numbers, let's