From nobody Mon Dec 06 15:55:20 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 DFC1F18C4180; Mon, 6 Dec 2021 15:55:23 +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 4J77LK3Lvyz4ZrM; Mon, 6 Dec 2021 15:55:21 +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 6DC0C68BD; Mon, 6 Dec 2021 15:55:20 +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 1B6FtKpU032813; Mon, 6 Dec 2021 15:55:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6FtK4N032812; Mon, 6 Dec 2021 15:55:20 GMT (envelope-from git) Date: Mon, 6 Dec 2021 15:55:20 GMT Message-Id: <202112061555.1B6FtK4N032812@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: 1d114c696776 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 1d114c696776f25a9777a380926175417130ddf8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638806122; 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=oGdKHrPUvBSuMion5c6arAwmZHOT+OY+EayIMxUFjBs=; b=c1LWv0yuf0uAxoU3dqDkw8TYGcFFy+lWlJdHFU3pjJvnK0tQE+CBSNnztsOjeyRZUDmkZ1 r9sjrs5SDykWMoDayiKbn+tfHxDRwqdjqJOkQYIDUDGj/2D99KavUSLWsSBzPIeDQebtKG ANb8rfUaVdDiv5rHpnJXrtHxBke8VQ6lLgANJr7B1n2YqJ/3nxL7nojkINB9AIf8CBfmda oNg3KQjL9Yz6/YladBIdJ/KLG9HCCirU0i2WaYUpObaDDE8UiMtgLOdbCFDPiLdbzy/N+f cxyb6f9gPB3dDmdssSDvs7tkPuVJaxWrawqUE/wxHRZUm09ftiR6S4tymlANeg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806122; a=rsa-sha256; cv=none; b=S+2sgRn4oK2CarLbNROwadZH9KUFHaPLAAM9HH7Kam6iPk23+7hhg6HHA3SPbbLqJWmzO/ iQY+G8xsT4x8AYcKpn9pENp/LSy/NPkGRth6YcDCfk0S4PbnLYTF/YwI0HdqS484UbRCGY 0uFnIedjbT5RJojsrLc4zg2BvfECtCJ0/dQyXKURtAbENw+x2UaAKq+/vobBHN2IGeLRe0 gwp1cFX0h6xLs0qEmQXPLMkSDxpvQINGBx59P2GGQaUJoxEXy0fCCAcTke7Yy6J0smahUO Hg4gLfLHSQcVAfQa5QR8TAOiJVEXf+UyPcy2gNrPjpOvY01RI9B+59URQtGlBw== 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=1d114c696776f25a9777a380926175417130ddf8 commit 1d114c696776f25a9777a380926175417130ddf8 Author: Warner Losh AuthorDate: 2021-11-24 17:37:48 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:54:10 +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