bus.h: add missing include to linux/kref.h
authorAlban Crequy <alban.crequy@collabora.co.uk>
Thu, 14 Aug 2014 11:13:46 +0000 (12:13 +0100)
committerDaniel Mack <zonque@gmail.com>
Thu, 14 Aug 2014 12:07:09 +0000 (14:07 +0200)
Symptoms:
> kdbus/bus.h:56:14: error: field ‘kref’ has incomplete type
>   struct kref kref;

Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk>
bus.h

diff --git a/bus.h b/bus.h
index a5832b84c4ff15d682edb14395adf946f48d8155..c7ce2fa2ce2993d360558a6a3b22969ea26ad44d 100644 (file)
--- 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"