From nobody Mon Dec 06 15:55:22 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E1E1818C4391; Mon, 6 Dec 2021 15:55:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J77LN02Txz4ZtT; Mon, 6 Dec 2021 15:55:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BA8416850; Mon, 6 Dec 2021 15:55:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B6FtMat032865; Mon, 6 Dec 2021 15:55:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6FtMZX032863; Mon, 6 Dec 2021 15:55:22 GMT (envelope-from git) Date: Mon, 6 Dec 2021 15:55:22 GMT Message-Id: <202112061555.1B6FtMZX032863@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: a05fd142318a - stable/12 - sys/disk/*.h: Include sys/types.h List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: a05fd142318a5e8200a23a3aa28575b4f7b01a58 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638806124; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VvkH0ZFTyQDjDMnMIJGaYInXN5iJN55vYG1XaJK2ytE=; b=M+IYX+lW4B4mr8bBwPv3xtf6wKh6dGMTRtMJEg6Km+NdrkPoTDEQRQMlIHh14IKHJKjVyQ edlvF5u3DlQ95YgyfHu92jZ4vMR6aA1IA1AQ7hsSDe5Etpg3M9+ZKNJHZR2omtKdV2kn1T ++yvN0LW4mpYoFJuFDVCf0zN2pb3vRSiP2oKiRdmIi/0aoLPizVIaNikLHCRVT87A4sK5L wBlKdn8r76njdYkGATDni1k1DEtzzGA5P1gkLhiul99j5Nw8tNV++8MNTQu3VeKJFBLuYB SGKhemyIn4OO3ish8/O7uJjM5TYPQR+kAXJNjsnu44LyUD08nCV0gm1XYz6cdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806124; a=rsa-sha256; cv=none; b=LDsF18EJhxZjSakL4RbTXsRp956o+DBKCNEYCIuGcwdj4KVNjKlljC8wZdtZL8yymDDUFy /u+p0L4pAs5S/3+tL8ppNFgezYuzLuPqmjMwNxlhQyAdIbe61qLqAXpk+8huNGKQxR05JV /1zoqNTa+I1MvCkOeznWCivmSUeElvWWKFAEh2JPOJwJ0VlM6Q7TLaTymUHFiI91lxjtjJ O+jUZLdm7RBUp4cVPkjEARc1wg1Vov5qcJg5KpxFY7b97T58LU639RkWweWRotGlRhynpK nC9nQdc1r7QE//jQ7cpfbyzAYiKVb6NQk0vybWC0ZeOuj+tMYVoYg7SPO0zN3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a05fd142318a5e8200a23a3aa28575b4f7b01a58 commit a05fd142318a5e8200a23a3aa28575b4f7b01a58 Author: Warner Losh AuthorDate: 2021-11-24 17:41:57 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:54:10 +0000 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 (cherry picked from commit fde1edaae7f05f753f3d0787744bcb466b634e7b) --- sys/sys/disk/apm.h | 2 ++ sys/sys/disk/bsd.h | 2 ++ sys/sys/disk/gpt.h | 2 ++ sys/sys/disk/mbr.h | 2 ++ sys/sys/disk/vtoc.h | 2 ++ 5 files changed, 10 insertions(+) diff --git a/sys/sys/disk/apm.h b/sys/sys/disk/apm.h index a9183b5e3aa7..1cf64a53b81a 100644 --- a/sys/sys/disk/apm.h +++ b/sys/sys/disk/apm.h @@ -29,6 +29,8 @@ #ifndef _SYS_DISK_APM_H_ #define _SYS_DISK_APM_H_ +#include + /* Driver Descriptor Record. */ struct apm_ddr { uint16_t ddr_sig; diff --git a/sys/sys/disk/bsd.h b/sys/sys/disk/bsd.h index 6b1e55ce6545..3e627db09099 100644 --- a/sys/sys/disk/bsd.h +++ b/sys/sys/disk/bsd.h @@ -33,6 +33,8 @@ #ifndef _SYS_DISK_BSD_H_ #define _SYS_DISK_BSD_H_ +#include + /* The disk magic number */ #define BSD_MAGIC 0x82564557U diff --git a/sys/sys/disk/gpt.h b/sys/sys/disk/gpt.h index ce38a1d1036a..69e9e9b92429 100644 --- a/sys/sys/disk/gpt.h +++ b/sys/sys/disk/gpt.h @@ -29,6 +29,8 @@ #ifndef _SYS_DISK_GPT_H_ #define _SYS_DISK_GPT_H_ +#include + /* * Applications can define GPT_UUID_TYPE if they want the GPT structures * to use a particular type definition for UUIDs/GUIDs. This header uses diff --git a/sys/sys/disk/mbr.h b/sys/sys/disk/mbr.h index 2d7c07b6271b..60b8d238ac06 100644 --- a/sys/sys/disk/mbr.h +++ b/sys/sys/disk/mbr.h @@ -33,6 +33,8 @@ #ifndef _SYS_DISK_MBR_H_ #define _SYS_DISK_MBR_H_ +#include + #define DOSBBSECTOR 0 /* DOS boot block relative sector number */ #define DOSDSNOFF 440 /* WinNT/2K/XP Drive Serial Number offset */ #define DOSPARTOFF 446 diff --git a/sys/sys/disk/vtoc.h b/sys/sys/disk/vtoc.h index c784d92717cf..c8e6e86268e4 100644 --- a/sys/sys/disk/vtoc.h +++ b/sys/sys/disk/vtoc.h @@ -29,6 +29,8 @@ #ifndef _SYS_DISK_VTOC_H_ #define _SYS_DISK_VTOC_H_ +#include + #define VTOC_TAG_UNASSIGNED 0x00 #define VTOC_TAG_BOOT 0x01 #define VTOC_TAG_ROOT 0x02