From nobody Wed Nov 20 03:35:50 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 4XtRpZ6S87z5d8Bd; Wed, 20 Nov 2024 03:35:50 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XtRpZ4sLHz44Bt; Wed, 20 Nov 2024 03:35:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732073750; 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=KJ1UtxsNL/bPwWTcYeAvdDTC0wWPd72L3Y4G58reo6s=; b=U9uv+A/+0XYjrbmos6WQhlSLCQ0srCCEBugQf/DHC/np07KeBXC07JIm2xw7zwQYVZSS5P bSkaOGeCRSTSGineNFZ+Y7cdNAXDgP9I4WQ+JCj99FOjYHFlHGIx6l97k2QOlfc0ZPNvEL Xt8GXDieW9Z23Tr57S05nFPSfxZDPdAkH3SrnTqITrqOM3GvgihKhXdZdb0Fsmmx2LkvXP rDSwfwZeezRzEyTAq0SCcnGYuMu18Ctxl/6/yg/NaYSC2Bve/lfRwj6p2/Tt7ZTP1rxUNh YxtgvoXPB70HfbmZ4JW3O+Ut8QAAgFatKTnNGjc1AmfP5VN9gugxvcniAlGeoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732073750; 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=KJ1UtxsNL/bPwWTcYeAvdDTC0wWPd72L3Y4G58reo6s=; b=PCocfRaLKSUqyqWLSpyZSw/xNSExAiwzuusVRBY9xR093JCdlFJvMqva2jmnDKAtanHuOY 2ZPIJ4URYxZcQYDYzLEFuK0GAo1v2gG8ktXXc1CvuL4jCvuLa2GGJw2MQ9DRmFN/j2lxGU /lbWiljHBzkC7od5e4vr+YvZlatnoezruNrLw0d0/DqKz9JFWXk5SHlO4HGfeJX8Y3Xjb9 jrHJxaJCLNgKKG5RMlSbvmB670YzdTNs7v1e87UPMkE2MyJgY2mbS3q2Kzhh0ju6AcB+0W VxC1D6diFSttflhtw46kjQm0H1Sgv4n81f8RSMawvJckAn9H5WH0arbMlRpfeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732073750; a=rsa-sha256; cv=none; b=I62uN4g8+ciHkKxUtEK6YERBzt7s+YoZeE1cRgoP+EbMBno8wSb7rmhY7+is/T6/BQDbHM 5quQonPXI2sa5+jifXf37NH5IU/HwCBoeAQF/ahWgH1GZ7j+29MmC6pmGYOkcM9BiWPLmG hwvAHNisg0CGmw8loY7m66dz0VgMMyORoN4PWUBAUpsN9pZtslL5SMNiVJiO3bcmNvLqV/ 0h9D8kwuJ2rGoxzQsmykmKlzsYx2ft8T2lOCRS3XdI7MCEFrmG3QdSLqNb8lee/k0Tb2Vb Kbd7QEPrmCOsY3E3/yCcA/ZYG2oqQWOsnptUBs17xYKib6lOpNe/Btg9ma6Xaw== 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 4XtRpZ4TbnzdfM; Wed, 20 Nov 2024 03:35:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AK3ZoE2099553; Wed, 20 Nov 2024 03:35:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AK3Zobd099550; Wed, 20 Nov 2024 03:35:50 GMT (envelope-from git) Date: Wed, 20 Nov 2024 03:35:50 GMT Message-Id: <202411200335.4AK3Zobd099550@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: 7255a2969ff9 - main - stand: Don't need sys/select.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: 7255a2969ff9ed2763391c854d7c2bed71a1a1c8 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7255a2969ff9ed2763391c854d7c2bed71a1a1c8 commit 7255a2969ff9ed2763391c854d7c2bed71a1a1c8 Author: Warner Losh AuthorDate: 2024-11-20 03:17:31 +0000 Commit: Warner Losh CommitDate: 2024-11-20 03:35:04 +0000 stand: Don't need sys/select.h The boot loader doesn't need the types and prototypes defined in sys/select.h, so don't indirectly include it. Sponsored by: Netflix --- sys/sys/time.h | 2 ++ sys/sys/types.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/sys/time.h b/sys/sys/time.h index f5c8d1d46471..d3a19ebfc811 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -611,7 +611,9 @@ int tvtohz(struct timeval *tv); #include #include +#ifndef _STANDALONE #include +#endif __BEGIN_DECLS int setitimer(int, const struct itimerval *, struct itimerval *); diff --git a/sys/sys/types.h b/sys/sys/types.h index 129ca0f2f4c4..fd375139a092 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -311,7 +311,9 @@ typedef _Bool bool; #if __BSD_VISIBLE +#ifndef _STANDALONE #include +#endif /* * The major and minor numbers are encoded in dev_t as MMMmmmMm (where