Re: [PATCH e2fsprogs] include sys/sysmacros.h as needed
From: Theodore Ts'o <tytso@mit.edu>
Date: 2017-05-19 18:08:27
From: Theodore Ts'o <tytso@mit.edu>
Date: 2017-05-19 18:08:27
On Mon, Mar 28, 2016 at 08:42:48PM -0400, Mike Frysinger wrote:
The minor/major/makedev macros are not entirely standard. glibc has had the definitions in sys/sysmacros.h since the start, and wants to move away from always defining them implicitly via sys/types.h (as this pollutes the namespace in violation of POSIX). Other C libraries have already dropped them. Since the configure script already checks for this header, use that to pull in the header in files that use these macros. Signed-off-by: Mike Frysinger <redacted>
This fell through the cracks; my apologies. But I've just applied it to the e2fsprogs maint and master branches. - Ted