]> www.infradead.org Git - mtd-utils.git/commit
include sys/sysmacros.h for major/minor/makedev
authorMike Frysinger <vapier@gentoo.org>
Sun, 17 Apr 2016 02:30:45 +0000 (22:30 -0400)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 18 Apr 2016 16:32:49 +0000 (09:32 -0700)
commitaacf7cff26a1ee4cb4528f6f89569a435d9db991
treea023fad180623f5529efdc0d4e2b24bf27084b70
parent90f2151eb19757a27af2dd710237e69a64740c12
include sys/sysmacros.h for major/minor/makedev

These functions have always been defined in sys/sysmacros.h under
Linux C libraries.  For some, including sys/types.h implicitly
includes that as well, but glibc wants to deprecate that, and some
others already have.  Include the header explicitly for the funcs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/common.h