Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/libfdt/dist Fix build
details: https://anonhg.NetBSD.org/src/rev/8c0a51c302f3
branches: trunk
changeset: 342232:8c0a51c302f3
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Dec 13 17:06:14 2015 +0000
description:
Fix build
diffstat:
sys/external/bsd/libfdt/dist/libfdt_env.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r ed7083b7ab92 -r 8c0a51c302f3 sys/external/bsd/libfdt/dist/libfdt_env.h
--- a/sys/external/bsd/libfdt/dist/libfdt_env.h Sun Dec 13 16:45:07 2015 +0000
+++ b/sys/external/bsd/libfdt/dist/libfdt_env.h Sun Dec 13 17:06:14 2015 +0000
@@ -52,9 +52,14 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if defined(_KERNEL)
+#include <sys/param.h>
+#include <sys/types.h>
+#else
#include <stddef.h>
#include <stdint.h>
#include <string.h>
+#endif
#ifdef __CHECKER__
#define __force __attribute__((force))
Home |
Main Index |
Thread Index |
Old Index