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: Fred Wright
Subject: Re: [gpsd-dev] [PATCH] include sys/sysmacros.h for major
Date: Mon, 9 May 2016 12:52:09 -0700 (PDT)

On Mon, 9 May 2016, 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.

Given that Linux's own man pages don't specify referencing sys/sysmacros.h
directly to get these definitions, this seems like a bad idea.  The
previous issue of this form apparently only happened due to a temporary
deficiency in a bleeding-edge glibc.

Fred Wright



reply via email to

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