Module Name: src Committed By: martin Date: Sun Mar 8 15:07:44 UTC 2020
Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Only inlcude fenv.h if __HAVE_FENV To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/tests/lib/libc/sys/t_ptrace_wait.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/sys/t_ptrace_wait.h diff -u src/tests/lib/libc/sys/t_ptrace_wait.h:1.26 src/tests/lib/libc/sys/t_ptrace_wait.h:1.27 --- src/tests/lib/libc/sys/t_ptrace_wait.h:1.26 Sat Mar 7 19:47:44 2020 +++ src/tests/lib/libc/sys/t_ptrace_wait.h Sun Mar 8 15:07:44 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.h,v 1.26 2020/03/07 19:47:44 kamil Exp $ */ +/* $NetBSD: t_ptrace_wait.h,v 1.27 2020/03/08 15:07:44 martin Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -654,7 +654,9 @@ trigger_ill(void) #endif } +#ifdef __HAVE_FENV #include <fenv.h> +#endif #if (__arm__ && !__SOFTFP__) || __aarch64__ #include <ieeefp.h> /* only need for ARM Cortex/Neon hack */