include sys/sysmacros.h for major() & minor()
Linux C libraries are looking to disentangle sysmacros.h from the
sys/types.h header to clean up namespace pollution. Since these
macros are provided in glibc/etc... today, switch to pulling in
this header directly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Backported from trunk:
f00fb19a1bb307bf11396058f01db89e6fe288d4
There was a merge conflict with the original patch.
The following file is missed in the current version:
contrib/test/mc_nextgen_test.c
It was excluded from the patch.
Change-Id: I38b6f75c36a0372e961deda73ce8f5dabed43053
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>