From nobody Wed Nov 24 18:27:44 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 EFA4C1894231; Wed, 24 Nov 2021 18:27:45 +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 4HzqHj15jmz3htH; Wed, 24 Nov 2021 18:27:45 +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 66EEC6C46; Wed, 24 Nov 2021 18:27:44 +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 1AOIRiMA081070; Wed, 24 Nov 2021 18:27:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOIRi3b081069; Wed, 24 Nov 2021 18:27:44 GMT (envelope-from git) Date: Wed, 24 Nov 2021 18:27:44 GMT Message-Id: <202111241827.1AOIRi3b081069@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: fde1edaae7f0 - main - 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/main X-Git-Reftype: branch X-Git-Commit: fde1edaae7f05f753f3d0787744bcb466b634e7b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637778465; 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=LYXgitdF/pIxNRcyXvIUnXy6Nww0DaP8nAdIrqEYSCU=; b=shTzJE2VEirDfg9z/vtbVyzrKVoaqvZaIYrf9KzVY/W3xtSJmSJmN2JJ8i0SrTJK2+y1Yv nZfjQcZLH+Y+h8X6p2RJVhsHvni9VyZyTcxZYSfuN+OhMl8t9HpSTp4QvECDYCpUnvvck8 C0sMkN8epiDUfH5l052nLP9Fh/ONPi/D6mjMmzpe0bkNBip88hsTql/IuO0bNgynmS+t0h aOvLf5HudsV1PNcA/LHsWHVuPYEW7jmF8O/9ofCf4AXC6hhuxYIeKi8LGP4VDyA1cBFLRd yPRaxJ6HnLS5LxB+4sODotNA6yf64wQiqfs8q6tIdwmNILfJA1yuHBR41uAEmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637778465; a=rsa-sha256; cv=none; b=xjRvN7pse+Uq57SgSB+6J/AcN0PDenh5fNk9FjpObBin9QHccA2tJuwkX4QrUGAO2xGQnR n6K79MjE+hHC8A+UNdukqPQncunDjsNld/JA/7tFs9uD59wyarK4WTr9mEtJsORnwtRJH6 x/YnjqP3rreHNNp4SH3JejDyLp34nKAQwsyExMS+wu0k4XTFAkSSw7yuZW4Ke48sX8euex hyrKDJqMpA0DRLj2mqkPli9J99FRzjZuAbymfae4tvLDgFQEl0W6ZW5R18uqf57h6cVU1I juJiIcFAvoGYWdQDlhOxTsxnXpHqwAUCjZMUI0ZYV6MB+laxBT2gAklNxYHsnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=fde1edaae7f05f753f3d0787744bcb466b634e7b commit fde1edaae7f05f753f3d0787744bcb466b634e7b Author: Warner Losh AuthorDate: 2021-11-24 17:41:57 +0000 Commit: Warner Losh CommitDate: 2021-11-24 18:26:45 +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 --- 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 c68524b9051e..3cb8d8e071e8 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 39b47c4a7386..1241059b02ea 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