From aacf7cff26a1ee4cb4528f6f89569a435d9db991 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 16 Apr 2016 22:30:45 -0400 Subject: 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 Signed-off-by: Brian Norris --- include/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/common.h b/include/common.h index fb0ca83..8cb3142 100644 --- a/include/common.h +++ b/include/common.h @@ -28,6 +28,7 @@ #include #include #include +#include #include "version.h" #ifndef PROGRAM_NAME -- cgit v1.2.3