sys/disk/*.h: Include sys/types.h
All these files use types defined by sys/types.h. Add an include of it at the top to make them standalone. Sponsored by: Netflix
This commit is contained in:
parent
242d6201a6
commit
fde1edaae7
@ -29,6 +29,8 @@
|
||||
#ifndef _SYS_DISK_APM_H_
|
||||
#define _SYS_DISK_APM_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Driver Descriptor Record. */
|
||||
struct apm_ddr {
|
||||
uint16_t ddr_sig;
|
||||
|
@ -33,6 +33,8 @@
|
||||
#ifndef _SYS_DISK_BSD_H_
|
||||
#define _SYS_DISK_BSD_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* The disk magic number */
|
||||
#define BSD_MAGIC 0x82564557U
|
||||
|
||||
|
@ -29,6 +29,8 @@
|
||||
#ifndef _SYS_DISK_GPT_H_
|
||||
#define _SYS_DISK_GPT_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/*
|
||||
* Applications can define GPT_UUID_TYPE if they want the GPT structures
|
||||
* to use a particular type definition for UUIDs/GUIDs. This header uses
|
||||
|
@ -33,6 +33,8 @@
|
||||
#ifndef _SYS_DISK_MBR_H_
|
||||
#define _SYS_DISK_MBR_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#define DOSBBSECTOR 0 /* DOS boot block relative sector number */
|
||||
#define DOSDSNOFF 440 /* WinNT/2K/XP Drive Serial Number offset */
|
||||
#define DOSPARTOFF 446
|
||||
|
@ -29,6 +29,8 @@
|
||||
#ifndef _SYS_DISK_VTOC_H_
|
||||
#define _SYS_DISK_VTOC_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#define VTOC_TAG_UNASSIGNED 0x00
|
||||
#define VTOC_TAG_BOOT 0x01
|
||||
#define VTOC_TAG_ROOT 0x02
|
||||
|
Loading…
Reference in New Issue
Block a user