From a37a3a76582358c532367c714a66c7b93a7cedc4 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 10 Jul 2018 07:40:42 +0000 Subject: [PATCH] We need to make ISSET/SET/CLR available for bootloaders too. --- sys/sys/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/types.h b/sys/sys/types.h index c086e1c94a74..2074637831b4 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.100 2018/07/08 21:59:12 pgoyette Exp $ */ +/* $NetBSD: types.h,v 1.101 2018/07/10 07:40:42 martin Exp $ */ /*- * Copyright (c) 1982, 1986, 1991, 1993, 1994 @@ -342,7 +342,7 @@ struct tty; struct uio; #endif -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_STANDALONE) #define SET(t, f) ((t) |= (f)) #define ISSET(t, f) ((t) & (f)) #define CLR(t, f) ((t) &= ~(f))