diff options
| author | thorpej <thorpej@NetBSD.org> | 2021-09-17 16:16:18 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2021-09-17 16:16:18 +0000 |
| commit | 63f8a1653e60cbec842f936ceb40e8f43d0d64d2 (patch) | |
| tree | c33c85b9f4043b020a6f04f1175bad6a132d7841 /sys | |
| parent | 9f1be7175182fd430942638cececd79343054446 (diff) | |
Don't include <sys/device_calls.h> in the _STANDALONE case.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/sparc/sparc/promlib.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sparc/sparc/promlib.c b/sys/arch/sparc/sparc/promlib.c index 335456fbb14..a30a01cf3cc 100644 --- a/sys/arch/sparc/sparc/promlib.c +++ b/sys/arch/sparc/sparc/promlib.c @@ -1,4 +1,4 @@ -/* $NetBSD: promlib.c,v 1.49 2021/09/15 17:33:08 thorpej Exp $ */ +/* $NetBSD: promlib.c,v 1.50 2021/09/17 16:16:18 thorpej Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: promlib.c,v 1.49 2021/09/15 17:33:08 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: promlib.c,v 1.50 2021/09/17 16:16:18 thorpej Exp $"); #if defined(_KERNEL_OPT) #include "opt_sparc_arch.h" @@ -45,12 +45,11 @@ __KERNEL_RCSID(0, "$NetBSD: promlib.c,v 1.49 2021/09/15 17:33:08 thorpej Exp $") #include <sys/kernel.h> #include <sys/device.h> -#include <sys/device_calls.h> - #ifdef _STANDALONE #include <lib/libsa/stand.h> #define malloc(s,t,f) alloc(s) #else +#include <sys/device_calls.h> #include <sys/systm.h> #include <sys/malloc.h> #endif /* _STANDALONE */ |
