[Libguestfs] [PATCH nbdkit 3/9] common/bitmap: Include <nbdkit-plugin.h>.

Richard W.M. Jones rjones at redhat.com
Fri Dec 28 18:45:54 UTC 2018


Inline functions in <bitmap.h> call nbdkit_debug so the include is
needed.
---
 common/bitmap/bitmap.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/bitmap/bitmap.h b/common/bitmap/bitmap.h
index ffed92e..f943933 100644
--- a/common/bitmap/bitmap.h
+++ b/common/bitmap/bitmap.h
@@ -44,6 +44,8 @@
 #include <stdint.h>
 #include <assert.h>
 
+#include <nbdkit-plugin.h>
+
 #include "ispowerof2.h"
 
 /* This is the bitmap structure. */
-- 
2.19.2




More information about the Libguestfs mailing list