[kvm-unit-tests PATCH 1/7] bitops: Include stdbool.h and stddef.h as necessary

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

 



Include stdbool.h and stddef.h in bitops.h to pick up the definitions for
"bool" and "size_t" respectively.

Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
---
 lib/bitops.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/bitops.h b/lib/bitops.h
index 308aa865..81a06a47 100644
--- a/lib/bitops.h
+++ b/lib/bitops.h
@@ -1,6 +1,9 @@
 #ifndef _BITOPS_H_
 #define _BITOPS_H_
 
+#include <stdbool.h>
+#include <stddef.h>
+
 /*
  * Adapted from
  *   include/linux/bitops.h
-- 
2.34.1.703.g22d0c6ccf7-goog




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux