From nobody Wed Nov 24 18:27:41 2021 X-Original-To: dev-commits-src-main@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 71B6018941C3; Wed, 24 Nov 2021 18:27:42 +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 4HzqHf1Jtdz3ht9; Wed, 24 Nov 2021 18:27:42 +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 09B816B95; Wed, 24 Nov 2021 18:27:42 +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 1AOIRfSP081022; Wed, 24 Nov 2021 18:27:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOIRfJm081021; Wed, 24 Nov 2021 18:27:41 GMT (envelope-from git) Date: Wed, 24 Nov 2021 18:27:41 GMT Message-Id: <202111241827.1AOIRfJm081021@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: b194db935565 - main - sys/acct.h: Add sys/types.h include List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: b194db935565d58392c21906419cbd99a5ecc0c3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637778462; 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=e/eeNYEoiG5e1jFduseBS6VVQD3RsVhj7rd9mKZU4ow=; b=LZKMfSAsykcUXOvlokTjjj76CtHF+0+nqzA9J9hd4B3KAs39Z6F8/AHOTQSX3XW8Un5oUv TGiBimFMI8WEu+DUm3b6XuRdqg0Q9NkxWSFHW3IXcZYfUrKkv0XW/HX20JJO3XBV+n/go4 jUG93dtFLqMZepPxRt65KFF8Fdll4Z3xydzUH3tV7N2ncglfeTy+TVvq0Tv2R4XRF5EQA4 mxEI3AQDp10+8qE1qOGRR0zwALYXFFHfikQi86+nZKnfMQbMXCjYYgnFdPQ4ahsmlhjS/U 177WeUKg9C5ySpJ2vzZ3egpDff4113xKAQ4sAbYVJruA1ECHTyhx5m5CiP/P4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637778462; a=rsa-sha256; cv=none; b=sUb99PKi9t+JV+PPpar74Jx/C8M/7HfNOcyVp1Mu0Kdp2EPQmMTeEmRcNDuUSQoVAVw8Ch FtHLDik4OTIMAPTRRqFpHoOi9BU30SkT5kqhi2JVPmNoawuadNULBf1FgV4WRoCha9HM8F Ovu8Lc3uci1lN8nj+XPoQykxM2WehnSfvHGv+uV81KmTpCBVTsu74q8461qCSybP+Om1zO OtcNtgb+A21hKXRqNG8klJor9RYW5Vbux619HjuOTK2uypKHlxZCISNZyC+FgxUweW5msr xVVcDb9LB6qrYZSaawNnbYDFve4fxvE5tp8WMLUWq8g6emnAz+GBNK9EWMSdwQ== 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=b194db935565d58392c21906419cbd99a5ecc0c3 commit b194db935565d58392c21906419cbd99a5ecc0c3 Author: Warner Losh AuthorDate: 2021-11-24 17:37:48 +0000 Commit: Warner Losh CommitDate: 2021-11-24 18:26:44 +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 --- 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