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

Peter Krempa pkrempa at redhat.com
Wed Aug 2 15:39:01 UTC 2017


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




More information about the libvir-list mailing list