don't pull in <dev/sun/disklabel.h> just for SUN_DKMAGIC; instead,

provide local copy of that #define.
This commit is contained in:
lukem 2002-04-04 00:32:06 +00:00
parent 28376496ff
commit 9f1d1d933d

View File

@ -1,4 +1,4 @@
/* $NetBSD: alpha.c,v 1.1 2002/04/03 10:21:03 lukem Exp $ */
/* $NetBSD: alpha.c,v 1.2 2002/04/04 00:32:06 lukem Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -98,7 +98,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
__RCSID("$NetBSD: alpha.c,v 1.1 2002/04/03 10:21:03 lukem Exp $");
__RCSID("$NetBSD: alpha.c,v 1.2 2002/04/04 00:32:06 lukem Exp $");
#endif /* !__lint */
#include <sys/param.h>
@ -112,10 +112,11 @@ __RCSID("$NetBSD: alpha.c,v 1.1 2002/04/03 10:21:03 lukem Exp $");
#include <unistd.h>
#include <dev/dec/dec_boot.h>
#include <dev/sun/disklabel.h> // XXX: for SUN_DKMAGIC
#include "installboot.h"
#define SUN_DKMAGIC 55998 /* XXX: from <dev/sun/disklabel.h> */
int alpha_parseopt(ib_params *, const char *);
int alpha_setboot(ib_params *);
int alpha_clearboot(ib_params *);