[systemd-devel] [PATCH] bus.h: add missing include to linux/kref.h
Alban Crequy
alban.crequy at collabora.co.uk
Thu Aug 14 04:13:46 PDT 2014
Symptoms:
> kdbus/bus.h:56:14: error: field ‘kref’ has incomplete type
> struct kref kref;
Signed-off-by: Alban Crequy <alban.crequy at collabora.co.uk>
---
bus.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/bus.h b/bus.h
index a5832b8..c7ce2fa 100644
--- a/bus.h
+++ b/bus.h
@@ -16,6 +16,7 @@
#include <linux/hashtable.h>
#include <linux/spinlock.h>
#include <linux/idr.h>
+#include <linux/kref.h>
#include "util.h"
--
1.8.5.3
More information about the systemd-devel
mailing list