[systemd-devel] [PATCH] bus.h: add missing include to linux/kref.h

2014-08-14 Thread Alban Crequy
Symptoms:
 kdbus/bus.h:56:14: error: field ‘kref’ has incomplete type
   struct kref kref;

Signed-off-by: Alban Crequy alban.cre...@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

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [PATCH] bus.h: add missing include to linux/kref.h

2014-08-14 Thread Daniel Mack
On 08/14/2014 01:13 PM, Alban Crequy wrote:
 Symptoms:
 kdbus/bus.h:56:14: error: field ‘kref’ has incomplete type
   struct kref kref;
 
 Signed-off-by: Alban Crequy alban.cre...@collabora.co.uk

Strange I don't see this error here.

Anyway, applied. Thanks!




 ---
  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
  
 

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel