[libvirt] [PATCH 1/3] util: hash: Include stdbool.h in the header file

Peter Krempa posted 3 patches 7 years, 9 months ago
[libvirt] [PATCH 1/3] util: hash: Include stdbool.h in the header file
Posted by Peter Krempa 7 years, 9 months ago
The functions declared in virhash.h return bool, but stdbool.h was not
included.
---
 src/util/virhash.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/virhash.h b/src/util/virhash.h
index 00b2550e7..5b24fc000 100644
--- a/src/util/virhash.h
+++ b/src/util/virhash.h
@@ -14,6 +14,7 @@
 # define __VIR_HASH_H__

 # include <stdint.h>
+# include <stdbool.h>

 /*
  * The hash table.
-- 
2.13.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list