Re: [PATCH 1/2] examples/loadables/finfo: correctly include sys/sysmacro
From:
Chet Ramey
Subject:
Re: [PATCH 1/2] examples/loadables/finfo: correctly include sys/sysmacros.h
Date:
Mon, 4 Nov 2019 16:33:13 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.2.1
On 11/4/19 2:47 PM, Eli Schwartz wrote:
Many projects historically relied on including this via sys/types.h, but
this was deprecated by glibc 2.25 and dropped fully in glibc 2.28:
https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html
Add autoconf check for the location of major/minor/makedev, and add
defines to include the correct header if it is detected outside of
sys/types.h
Thanks for the patch. I'll apply this soon.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/