[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-api
Subject:    Re: [PATCH 43/98] include/uapi/linux/hdlc/ioctl.h: include linux/if.h
From:       Frans Klaver <fransklaver () gmail ! com>
Date:       2015-05-30 20:22:53
Message-ID: 20150530202253.GD15645 () bugger ! home
[Download RAW message or body]

On Sat, May 30, 2015 at 05:38:35PM +0200, Mikko Rapeli wrote:
> Fixes userspace compiler error:
> 
> error: ‘IFNAMSIZ' undeclared here (not in a function)
> 
> Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
> ---
>  include/uapi/linux/hdlc/ioctl.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/uapi/linux/hdlc/ioctl.h b/include/uapi/linux/hdlc/ioctl.h
> index 04bc027..8bbee11 100644
> --- a/include/uapi/linux/hdlc/ioctl.h
> +++ b/include/uapi/linux/hdlc/ioctl.h
> @@ -1,6 +1,7 @@
>  #ifndef __HDLC_IOCTL_H__
>  #define __HDLC_IOCTL_H__
>  
> +#include <linux/if.h>
>  
>  #define GENERIC_HDLC_VERSION 4	/* For synchronization with sethdlc utility */

What's the point of this one if you break this circular dependency in
patch 49? Are those in between related?

Thanks,
Frans
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic