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)
/*
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"