Fix to support pc98.
This commit is contained in:
parent
7a416624c8
commit
4c34626aa8
@ -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>
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user