[tip:tools/kvm] tools/kvm: Add 'bool' type

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

 



Commit-ID:  af3957d37eb6f447783419d1dffec6cf6f4b9e11
Gitweb:     http://git.kernel.org/tip/af3957d37eb6f447783419d1dffec6cf6f4b9e11
Author:     Ingo Molnar <mingo@xxxxxxxxxx>
AuthorDate: Thu, 15 Oct 2015 13:50:42 +0200
Committer:  Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Thu, 15 Oct 2015 13:57:57 +0200

tools/kvm: Add 'bool' type

Some kernel headers started using 'bool' - provide it in kvmtool as well.

Cc: Pekka Enberg <penberg@xxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
 tools/kvm/include/linux/types.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/kvm/include/linux/types.h b/tools/kvm/include/linux/types.h
index 27ef3c7..437d520 100644
--- a/tools/kvm/include/linux/types.h
+++ b/tools/kvm/include/linux/types.h
@@ -5,6 +5,8 @@
 #define __SANE_USERSPACE_TYPES__	/* For PPC64, to get LL64 types */
 #include <asm/types.h>
 
+#include <stdbool.h>
+
 typedef __u64 u64;
 typedef __s64 s64;
 
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux