From nobody Mon Dec 06 15:56:38 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 E015618C5E3B; Mon, 6 Dec 2021 15:56:41 +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 4J77Mq3Shfz4bvP; Mon, 6 Dec 2021 15:56:39 +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 624A268C9; Mon, 6 Dec 2021 15:56:38 +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 1B6FucOP033787; Mon, 6 Dec 2021 15:56:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6Fuc9N033786; Mon, 6 Dec 2021 15:56:38 GMT (envelope-from git) Date: Mon, 6 Dec 2021 15:56:38 GMT Message-Id: <202112061556.1B6Fuc9N033786@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: 4b8c2456693d - stable/13 - sys/acct.h: Add sys/types.h include 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/13 X-Git-Reftype: branch X-Git-Commit: 4b8c2456693dadf143d69af44efe839afa9eaed5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638806200; 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=OuDjm1XmoCn/IoEibLgNYLclYgZ7rXuos7y6TY7vlDM=; b=EqZ3HkwDkORGP+b4OeJj+XkGsIHVUjDyV2kbQYkVKR3uSHHRT5C1dfJ9XofjZ5mMjbDM9+ Jxn55bEE8sCVYb1u1gHrztoP/Qqy+1IZaUkYZNRf6J8OygDmTSCwUbtECuNGOQhA+96FZq llAdtCe2U7IjAoZGzy+MGAtOg9timxU94tF3oRcmWe/cEPqCeoR+3cOFQcORNk5GGxekDp WSli9xxpgCrWJ1XyJG0QKGo7XyZNoTxpKZiYF7177MDQXOz6cMKU6YAY9tTFZ0Faxw5ZQB WVj68n2DYhatuoUjVWsOuMfmRtn2y0ZsHbtIfMXVeO4p9Vd3ukZiNEx/gz1YBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806200; a=rsa-sha256; cv=none; b=q5g9qDVHOzzqqSMMpI6gwmNkHDhdBr9RadHOQDr7lpexDCCfKlgoPnFW4OigK19fpHh31n 3tbAOQszgrLJe+V6jyT/WvMWccc4IE0u5uym5xEBr6skp1ZEJ1wwZFoXzIV/RwYrYDkc0o KNxGwc1u8gHXmPMX1oSqvQ8343+NkLN0XTxGuThWbmC6oSeRyulhZaSNkWi2+naey9+g5p 9qjlf5zd8xoZOkOp/9L7BT+RC8xQFJTb05tfr4OLAIiZIz5pelpBUzn0/NeAU7CZ9cVjn+ awkgyf4SLD+2sh0iyg7meEhR+ok7ABirGJLsSwGhtWkx4vRvZLggGj5PGvY0HQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4b8c2456693dadf143d69af44efe839afa9eaed5 commit 4b8c2456693dadf143d69af44efe839afa9eaed5 Author: Warner Losh AuthorDate: 2021-11-24 17:37:48 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:55:58 +0000 sys/acct.h: Add sys/types.h include There's no harm in including sys/types.h here and acct.h needs it. This file isn't defined by any standard, so what we do here wrt namespaces likely doesn't matter. If it does, it will be easy enough to add the necessary __BSD_VISIBLE guards in the future. Sponsored by: Netflix (cherry picked from commit b194db935565d58392c21906419cbd99a5ecc0c3) --- sys/sys/acct.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/acct.h b/sys/sys/acct.h index 36c6a5e23d06..7f61f3f4fc10 100644 --- a/sys/sys/acct.h +++ b/sys/sys/acct.h @@ -42,6 +42,8 @@ #ifdef _KERNEL #define float uint32_t +#else +#include #endif #define AC_COMM_LEN 16