From owner-svn-src-head@freebsd.org Tue Apr 11 13:31:28 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98BBFD393DD; Tue, 11 Apr 2017 13:31:28 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 692C3FBC; Tue, 11 Apr 2017 13:31:28 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3BDVRtC051527; Tue, 11 Apr 2017 13:31:27 GMT (envelope-from cognet@FreeBSD.org) Received: (from cognet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3BDVRYj051526; Tue, 11 Apr 2017 13:31:27 GMT (envelope-from cognet@FreeBSD.org) Message-Id: <201704111331.v3BDVRYj051526@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cognet set sender to cognet@FreeBSD.org using -f From: Olivier Houchard Date: Tue, 11 Apr 2017 13:31:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316702 - head/sys/mips/mips X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2017 13:31:28 -0000 Author: cognet Date: Tue Apr 11 13:31:27 2017 New Revision: 316702 URL: https://svnweb.freebsd.org/changeset/base/316702 Log: This file is also used in libcompiler_rt, so bring in stdbool.h if we're not in the kernel. Modified: head/sys/mips/mips/stdatomic.c Modified: head/sys/mips/mips/stdatomic.c ============================================================================== --- head/sys/mips/mips/stdatomic.c Tue Apr 11 12:49:25 2017 (r316701) +++ head/sys/mips/mips/stdatomic.c Tue Apr 11 13:31:27 2017 (r316702) @@ -33,6 +33,10 @@ __FBSDID("$FreeBSD$"); #include #include +#ifndef _KERNEL +#include +#endif /* _KERNEL */ + #if defined(__SYNC_ATOMICS) /*