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

Daniel Mack daniel at zonque.org
Thu Aug 14 05:08:39 PDT 2014


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.crequy at 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"
>  
> 



More information about the systemd-devel mailing list