svn commit: r316702 - head/sys/mips/mips
Olivier Houchard
cognet at FreeBSD.org
Tue Apr 11 13:31:28 UTC 2017
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)
/*
More information about the svn-src-all
mailing list