From nobody Sun May 26 17:40:23 2024 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 4VnQzC56xdz5LQ4R; Sun, 26 May 2024 17:40: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 4VnQzC3vQPz53q2; Sun, 26 May 2024 17:40:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716745223; 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=WnXWn2ah2ke77PJB5xbKK7VpxroPLC+Fi4mYctIwC30=; b=NKweAukaQMuDzZGzcP/cNYmjl19Vau/9ZIkL4Mis8+t18cSR1HKlTHN7rLT2WwwUBgADSl 3XPjtkQh04PJxJzuSXQKc6isiYWuO2ZNLiwAuNG/d77qpCrFVUwJwgMkBEiM6M96p973KK 79KSPvhvIZ8pViU77Q56+SC0gShlT4eqzlTwEPCQvL0DeJXmYH84Ctgvunwf9Pptut+sYi Rh2+8fBx+G1B49Leg3SVxwp0drQyhNebUWygeOc9MY5klV2W/mIkmpnFSjI97brgu9NzDx X4U410tBE1S639ZcyUV0uH9kNk6JEjWxVPzHRuzkQVYbN9WQ+sZZashEm3GKwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716745223; a=rsa-sha256; cv=none; b=m+vQxkYjb/Z5jU2kHohjKJqnaD4ESG2ZDdEeoNq2RlwAjmNPGcyu/zhs0zKunPvOrn0LI8 h7UU71T56yguE4NsGLu/1fNqgR/nFLxEKw7/bVeOkpwntWLkfDga3Ou4j1mHFHjU4dXDF3 U0joh33TS3mQp2FTrmtHAywPoAmAqQHx6xQLnwfU9E9LTxfB7k1+KYwmc58wuaOHlpnhcP eMDCrZMcskpA3JYTyZfX/3rhcx8oGpdi9SRX+uHGExQ07YgZu0weMP1LM6C4x8JvVPSGyd xrCWNfG2IplrhgbzhIe7NLx6rOQx4D1jIEq7LP12jkxDmIBXidWXhQRAxMeALA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716745223; 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=WnXWn2ah2ke77PJB5xbKK7VpxroPLC+Fi4mYctIwC30=; b=xBtzCgfq5pxKJElWh/TmBzKOk0OCvGdK/GP1DspG4zCLWJtBHckFIQo3LyEkakRksg9ThB z6hxbMstmLapPBcfgMLjhgmhQ4G7P6j50TQdo0vJi9nhadu2vVFdwGZ4gqMPsAdUrhKLBJ 2CCExmEyn7WYznkzmJ1AS6z9MnwEt+kNOFrV/B8VyTD/hLkObQGiKhNWkjpA3ENRa9dQ7Q 7RWgVWky9ImeGuMWFGcIKWe3OJDDwHExufBjIeahYu0YZ98CVHVLw62ugwpA5MX6NVbznf aYXA7ZhXTtRzrr2AJk1w5g35uW9RoEZJwJm5UXoReB8PBY4NP+RmjkG/lVRyRw== 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 4VnQzC3WbYz18h3; Sun, 26 May 2024 17:40:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44QHeN8e085460; Sun, 26 May 2024 17:40:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44QHeNa0085457; Sun, 26 May 2024 17:40:23 GMT (envelope-from git) Date: Sun, 26 May 2024 17:40:23 GMT Message-Id: <202405261740.44QHeNa0085457@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: 76efd90ab093 - main - cross-build: Include sys/types.h from sys/param.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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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: 76efd90ab093244634b0e6db450f1b0cca0b3263 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=76efd90ab093244634b0e6db450f1b0cca0b3263 commit 76efd90ab093244634b0e6db450f1b0cca0b3263 Author: Warner Losh AuthorDate: 2024-05-26 17:39:02 +0000 Commit: Warner Losh CommitDate: 2024-05-26 17:39:02 +0000 cross-build: Include sys/types.h from sys/param.h FreeBSD has a style(9) enforced assumption that sys/param.h includes sys/types.h. However, Linux under musl doesn't do this so go ahead and explicitly include it here. It won't hurt on the glibc systems, and helps musl. Co-authored-by: Val Packett Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Reviewed by: val_packett.cool Differential Revision: https://reviews.freebsd.org/D45352 --- tools/build/cross-build/include/linux/sys/param.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/build/cross-build/include/linux/sys/param.h b/tools/build/cross-build/include/linux/sys/param.h index 33679d39ed49..3b29b9ef8430 100644 --- a/tools/build/cross-build/include/linux/sys/param.h +++ b/tools/build/cross-build/include/linux/sys/param.h @@ -45,3 +45,5 @@ * let's use 32 since that will work across all systems */ #define MAXLOGNAME 33 /* max login name length (incl. NUL) */ + +#include