[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#271513: linux/if.h incomplete type



At Mon, 13 Sep 2004 16:17:55 +0200,
Maik Hentsche wrote:
> This fails with the following errors:
> 
> --------------------------------------
> 
> In file included from iftest.c:1:
> /usr/include/linux/if.h:136: error: field `ifru_addr' has incomplete type
> /usr/include/linux/if.h:137: error: field `ifru_dstaddr' has incomplete type
> /usr/include/linux/if.h:138: error: field `ifru_broadaddr' has incomplete type
> /usr/include/linux/if.h:139: error: field `ifru_netmask' has incomplete type
> /usr/include/linux/if.h:140: error: field `ifru_hwaddr' has incomplete type

Is "#include <net/if.h>" inssuficient for you instead of "linux/if.h"?

Regards,
-- gotom



Reply to: