On glibc, include sysmacros.h directly
On glibc, major, minor, and makedev are all defined in sys/sysmacros.h with types.h only including this for historical reasons. A future release of glibc will remove this behaviour, meaning that major, minor, and makedev will no longer be defined for us without including sysmacros.h.
This commit is contained in:
committed by
Michael Forney
parent
48d04ae446
commit
99c7876310
Reference in New Issue
Block a user