diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-03-18 13:33:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 13:33:11 (GMT) |
commit | 6fd9737373f2bed03f409440b4fd50b9f8f121cb (patch) | |
tree | 06a538259de1e317cfb1f9117cb9b4a090415749 /Modules | |
parent | d27af88c1bcf3c6c185f81218b7bf86b38128ea9 (diff) | |
download | cpython-6fd9737373f2bed03f409440b4fd50b9f8f121cb.zip cpython-6fd9737373f2bed03f409440b4fd50b9f8f121cb.tar.gz cpython-6fd9737373f2bed03f409440b4fd50b9f8f121cb.tar.bz2 |
[3.10] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961). (GH-31974)
(cherry picked from commit 8e3fde728f547f1d32bde8adf62b4c50bb877b9d)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/faulthandler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index 88a5b93..4af8702 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -23,9 +23,9 @@ # define FAULTHANDLER_USE_ALT_STACK #endif -#if defined(FAULTHANDLER_USE_ALT_STACK) && defined(HAVE_LINUX_AUXVEC_H) -# include <linux/auxvec.h> -# include <sys/auxv.h> +#if defined(FAULTHANDLER_USE_ALT_STACK) && defined(HAVE_LINUX_AUXVEC_H) && defined(HAVE_SYS_AUXV_H) +# include <linux/auxvec.h> // AT_MINSIGSTKSZ +# include <sys/auxv.h> // getauxval() #endif /* Allocate at maximum 100 MiB of the stack to raise the stack overflow */ |