From f2c339bc51ab2e0fc754293d812f4cd137515479 Mon Sep 17 00:00:00 2001 From: rin Date: Sat, 2 Jan 2021 02:13:42 +0000 Subject: [PATCH] Use instead of , which is not intended for standalone use. Compile tested for all ports with their own COMPAT_NETBSD32 codes: aarch64, amd64, arm, mips64, sparc64, and algor64. Should fix build failure for mips64 in netbsd-9, where netbsd32.h is not included by other header files. --- sys/kern/core_elf32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/core_elf32.c b/sys/kern/core_elf32.c index af46b332d7c9..00311f25ef38 100644 --- a/sys/kern/core_elf32.c +++ b/sys/kern/core_elf32.c @@ -1,4 +1,4 @@ -/* $NetBSD: core_elf32.c,v 1.66 2020/10/19 19:33:02 christos Exp $ */ +/* $NetBSD: core_elf32.c,v 1.67 2021/01/02 02:13:42 rin Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.66 2020/10/19 19:33:02 christos Exp $"); +__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.67 2021/01/02 02:13:42 rin Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd32.h" @@ -66,7 +66,7 @@ __KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.66 2020/10/19 19:33:02 christos Exp #include #ifdef COMPAT_NETBSD32 -#include +#include #endif struct writesegs_state {