gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] [PATCH] include sys/sysmacros.h for major


From: Mike Frysinger
Subject: Re: [gpsd-dev] [PATCH] include sys/sysmacros.h for major
Date: Mon, 9 May 2016 22:04:19 -0400

On 09 May 2016 13:46, Gary E. Miller wrote:
> On Mon,  9 May 2016 14:44:48 -0400 Mike Frysinger wrote:
> > These functions are not part of any official spec, and Linux C libs
> > have always kept them in sys/sysmacros.h.  Include the header
> > directly to fix builds w/alternative C libs, and to work with future
> > glibc versions. ---
> 
> Can you be specific on what distro or version this may fix?

it isn't deployed yet.  gpsd can wait for newer C lib releases to break
its build, or it can get ahead like every other project i've sent patches
to and fix their source trees now.

this isn't specific to Linux either.  it's long been an issue for other
OS's which is why autoconf has had a macro for this for more than a
decade.  see AC_HEADER_MAJOR:
        
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Particular-Headers.html
-mike

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]