Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ext2fs needs <stdbool.h>



details:   https://anonhg.NetBSD.org/src/rev/feadbe76eaae
branches:  trunk
changeset: 815974:feadbe76eaae
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jun 10 06:30:58 2016 +0000

description:
needs <stdbool.h>

diffstat:

 sys/ufs/ext2fs/ext2fs_extents.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c25c987fffe2 -r feadbe76eaae sys/ufs/ext2fs/ext2fs_extents.h
--- a/sys/ufs/ext2fs/ext2fs_extents.h   Fri Jun 10 05:45:27 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_extents.h   Fri Jun 10 06:30:58 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs_extents.h,v 1.1 2016/06/03 15:35:48 christos Exp $      */
+/*     $NetBSD: ext2fs_extents.h,v 1.2 2016/06/10 06:30:58 dholland Exp $      */
 
 /*-
  * Copyright (c) 2012, 2010 Zheng Liu <lz%freebsd.org@localhost>
@@ -32,6 +32,10 @@
 #define        _UFS_EXT2FS_EXT2FS_EXTENTS_H_
 
 #include <sys/types.h>
+#ifndef _KERNEL
+#include <stdbool.h>
+#endif
+
 #include <ufs/ufs/inode.h>
 #define        EXT4_EXT_MAGIC  0xf30a
 



Home | Main Index | Thread Index | Old Index