Fix to support pc98.

This commit is contained in:
nyan 2002-10-08 12:13:19 +00:00
parent 7a416624c8
commit 4c34626aa8
5 changed files with 20 additions and 0 deletions

View File

@ -20,7 +20,11 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/disklabel.h>
#include <sys/diskslice.h>
#ifdef PC98
#include <sys/diskpc98.h>
#else
#include <sys/diskmbr.h>
#endif
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/sysctl.h>

View File

@ -22,12 +22,16 @@ __FBSDID("$FreeBSD$");
#include <sys/ioctl.h>
#include <sys/disklabel.h>
#include <sys/diskslice.h>
#ifndef PC98
#include <sys/diskmbr.h>
#endif
#include <paths.h>
#include "libdisk.h"
#ifndef PC98
#define DOSPTYP_EXTENDED 5
#define DOSPTYP_ONTRACK 84
#endif
const char *chunk_n[] = {
"whole",

View File

@ -17,7 +17,11 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/diskslice.h>
#include <sys/disklabel.h>
#ifdef PC98
#include <sys/diskpc98.h>
#else
#include <sys/diskmbr.h>
#endif
#include "libdisk.h"
int

View File

@ -64,7 +64,11 @@ __FBSDID("$FreeBSD$");
#define DKTYPENAMES
#define FSTYPENAMES
#include <sys/disklabel.h>
#ifdef PC98
#include <sys/diskpc98.h>
#else
#include <sys/diskmbr.h>
#endif
#ifdef __sparc64__
#include <sys/sun_disklabel.h>
#endif

View File

@ -64,7 +64,11 @@ __FBSDID("$FreeBSD$");
#define DKTYPENAMES
#define FSTYPENAMES
#include <sys/disklabel.h>
#ifdef PC98
#include <sys/diskpc98.h>
#else
#include <sys/diskmbr.h>
#endif
#ifdef __sparc64__
#include <sys/sun_disklabel.h>
#endif