From nobody Tue Oct 25 16:57:42 2022 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 4MxdRB3YFRz4gKy0; Tue, 25 Oct 2022 16:57: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 4MxdRB30P9z4MH5; Tue, 25 Oct 2022 16:57:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666717062; 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=Xm0U1CoS1MeHtcsVtnlBLGx4AIELSwV6D2kDpbvmVwo=; b=lUNuvRPpGtNawMmEzTAlR1ADsCvbZhpafabpUVhBmvLBvUkazQWoorKxwY/zMfOJw433u+ UhkYyJvtTOm32i9hl8/uOoOmA86BjLc5yeMfiAHO6kI6ehd1uteWWWP+EtR1DMw1lHe72V 4HBXi+aArPC8rI9bemkLSzK3jj8Wt4L3qQ37nhzA597rk6gqNlkjDtGxn4SplEmyMrMmgr z/Q27UfaU4bcM1Z5pygR3n73MGkdTxcI/su8zJVuGt4fXE6g2L9fu9XomuYASFpAn61qRK rms++lM33JJmG/y0V38Mop8zUKo/VIK1RA/mTymQxo5zUg12vyXvY/idkW+EAg== 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 4MxdRB22XczlZG; Tue, 25 Oct 2022 16:57: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 29PGvg3D064987; Tue, 25 Oct 2022 16:57:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29PGvg7h064986; Tue, 25 Oct 2022 16:57:42 GMT (envelope-from git) Date: Tue, 25 Oct 2022 16:57:42 GMT Message-Id: <202210251657.29PGvg7h064986@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: e0cab5cdb34e - main - subr_physmem: Fix userspace build 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: e0cab5cdb34e0ba461ab074804dac59b3f0dc798 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666717062; 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=Xm0U1CoS1MeHtcsVtnlBLGx4AIELSwV6D2kDpbvmVwo=; b=aWB58Avt1ugfyQ5ILGJ2Uy/isdZcj8r16Xzt0IC0xa9guAkiRQ78XN9fMKONz9RJhJjlmB QQ9BDpwVuqBSJ3iWXX49niOw0ytubJCt6vgrVBjJcd419LAOANYEm18okX1pxhfTKiFB98 RAssh3PedGQVGBrhvSrPiJYtQUmE10qL6RXnHtWJVDFcHPPoXW/MPubhm1IJsppngKpFgM wOvqu8yx6yDIe6qly2SYmo1bf/lDnet1KHxkt2J5ZnPlQsKew1VYFezLIFqyl9wGUTk4Wb mB1MBVuwKdHFv7XK2h6Vg9E+vEUurk/HTrhN7tiRWrosmcgOgE7EU9NmGpB8QQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666717062; a=rsa-sha256; cv=none; b=J02G0kXikcaVIxr4/u08/hxdwZq6Q7Fz4bZF2JEObx8bzsEsEGr/2F4uRh3IgpUjKVMFBJ z3IZQyPDsVs8WIYHFX4I8NLUQ6jBZZo2fbWPF1P4nF3HFUvykm/87qDeS0ah6aPqj9A5J3 YME+8UqqyDZ6aqXCBz13F96HKN1ynAvJlJxtBsg5cmcHUUfw3rWpbv3uCiMNkNLx0zdzCu G0dGYPRiInDwOFkIqrz9IzySR8n57Gn6DqbqqgIaD8/kLiCorO6wEcXNsIoLUNcrSxWcJZ NrSg6kNwMSdU7if6w78o2DtYRkVMVxHXRTjus9K0xp0rNRSVruSnSUqH2858BQ== 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=e0cab5cdb34e0ba461ab074804dac59b3f0dc798 commit e0cab5cdb34e0ba461ab074804dac59b3f0dc798 Author: Warner Losh AuthorDate: 2022-10-25 05:05:07 +0000 Commit: Warner Losh CommitDate: 2022-10-25 16:57:29 +0000 subr_physmem: Fix userspace build Include stdbool.h in userspace configurations. For the kernel builds we get it from sys/types.h, but bool isn't defined there for non-kernel builds and this otherwise kernel-only file is used for the physmem test suite. Fixes: deb1e3b71998 Sponsored by: Netflix --- sys/sys/physmem.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/sys/physmem.h b/sys/sys/physmem.h index dcf12b589d05..8ef75c47c1ce 100644 --- a/sys/sys/physmem.h +++ b/sys/sys/physmem.h @@ -31,6 +31,10 @@ #ifndef _SYS_PHYSMEM_H_ #define _SYS_PHYSMEM_H_ +#ifndef _KERNEL +#include +#endif + /* * Routines to help configure physical ram. *