From ba98d9bf9e4a966db0fd00fa2d9153aba8ad9207 Mon Sep 17 00:00:00 2001 From: ragge Date: Tue, 3 Apr 2001 20:25:22 +0000 Subject: [PATCH] Protect #include by #ifndef _LOCORE. isn't asm-safe. --- sys/sys/disklabel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 9cabdbcd703b..6cee94e0f455 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.68 2001/03/14 16:39:33 drochner Exp $ */ +/* $NetBSD: disklabel.h,v 1.69 2001/04/03 20:25:22 ragge Exp $ */ /* * Copyright (c) 1987, 1988, 1993 @@ -41,7 +41,9 @@ /* * We need for __HAVE_OLD_DISKLABEL */ +#ifndef _LOCORE #include +#endif /* * Each disk has a label which includes information about the hardware