Re: [PATCH 1/2] lapi/prctl: add more fallback definitions

Cyril Hrubis <[email protected]> Mon, 3 Aug 2026 10:11:15 +0200
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
Hi!
>  configure.ac         |  2 ++
>  include/lapi/prctl.h | 25 +++++++++++++++++++++++++
>  2 files changed, 27 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 19fc5e1b8f5f5f94bd797ff2ba4275c29c20cb6c..e698c2b890547ccd32872526daeba13477a7edba 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -286,6 +286,8 @@ AC_CHECK_TYPES([struct fsxattr],,,[#include <linux/fs.h>])
>  
>  AC_CHECK_TYPES([struct logical_block_metadata_cap],,,[#include <linux/fs.h>])
>  
> +AC_CHECK_TYPES([struct prctl_mm_map],,,[#include <linux/prctl.h>])
                                                      ^
						      This must be
						      sys/prctl.h


You are checking linux/prctl.h but include sys/prctl.h in lapi/prctl.h
which breaks compilation on all targets in CI.


-- 
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp