Provide MBR_PTYPE_PREP and MBR_FLAGS_ACTIVE locally, if not available.

This commit is contained in:
kleink 2002-05-04 20:46:23 +00:00
parent 2b298aa1d3
commit 23a8bf785e
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mkbootimage.c,v 1.3 2002/04/25 23:30:26 kleink Exp $ */
/* $NetBSD: mkbootimage.c,v 1.4 2002/05/04 20:46:23 kleink Exp $ */
/*-
* Copyright (C) 1999, 2000 NONAKA Kimihiro (nonaka@netbsd.org)
@ -47,6 +47,15 @@
#include "byteorder.h"
#include "magic.h"
#ifndef MBR_PTYPE_PREP
#define MBR_PTYPE_PREP 0x41
#endif
#ifndef MBR_FLAGS_ACTIVE
#define MBR_FLAGS_ACTIVE 0x80
#endif
int
main(argc, argv)
int argc;