Module Name:    src
Committed By:   christos
Date:           Sun Jan 27 16:29:56 UTC 2019

Modified Files:
        src/tests/kernel: h_segv.c

Log Message:
vaxinate against ieeefp.h


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/kernel/h_segv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/kernel/h_segv.c
diff -u src/tests/kernel/h_segv.c:1.11 src/tests/kernel/h_segv.c:1.12
--- src/tests/kernel/h_segv.c:1.11	Sat Jan 26 11:44:30 2019
+++ src/tests/kernel/h_segv.c	Sun Jan 27 11:29:56 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: h_segv.c,v 1.11 2019/01/26 16:44:30 martin Exp $	*/
+/*	$NetBSD: h_segv.c,v 1.12 2019/01/27 16:29:56 christos Exp $	*/
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: h_segv.c,v 1.11 2019/01/26 16:44:30 martin Exp $");
+__RCSID("$NetBSD: h_segv.c,v 1.12 2019/01/27 16:29:56 christos Exp $");
 
 #define	__TEST_FENV
 
@@ -39,7 +39,9 @@ __RCSID("$NetBSD: h_segv.c,v 1.11 2019/0
 
 #include <err.h>
 #include <fenv.h>
+#if (__arm__ && !__SOFTFP__) || __aarch64__
 #include <ieeefp.h> /* only need for ARM Cortex/Neon hack */
+#endif
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>

Reply via email to