Re: [PATCH v05 69/72] uapi rose.h: glibc netrose/rose.h header file compatibility fixes

From: David Ranch
Date: Mon Aug 29 2016 - 16:01:50 EST



Hello Mikko,

Somewhat related, the ax25.h file from libax25-devel also has conflicts with the Glibc's ax.25.h. This creates trouble so if we could get a fix for that, that would be appreciated as well though it might be a Glibc issue and not a kernel issue.

--David



On 08/27/2016 10:59 PM, Mikko Rapeli wrote:
On Fri, Aug 26, 2016 at 05:38:00PM +0200, walter harms wrote:
perhaps this not tested snipped would make sure that
you have included linux/rose.h ?

#ifndef ROSE_KERNEL_H
#include <linux/rose.h>
#endif

#include <netrose/rose.h>
Sorry, I did not quite get this.

<linux/rose.h> has conflicting definitions with glibc <netrose/rose.h>.
The patches fixes the uapi headers <linux/rose.h> so that it hides
definitions if <netrose/rose.h> from glibc was already included.

-Mikko
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html