Date: Tue, 11 Apr 2017 13:31:27 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316702 - head/sys/mips/mips Message-ID: <201704111331.v3BDVRYj051526@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/stdatomic.h> #include <sys/types.h> +#ifndef _KERNEL +#include <stdbool.h> +#endif /* _KERNEL */ + #if defined(__SYNC_ATOMICS) /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704111331.v3BDVRYj051526>