From 7c9dccb596b6467899c993a7df5d32574c1b89b9 Mon Sep 17 00:00:00 2001 From: "Ausmus, James" Date: Wed, 27 Sep 2017 16:08:27 -0700 Subject: Fix compilation on some distros Some distros (such as Gentoo) are removing the include of sys/sysmacros.h from sys/types.h. Explicitly include sysmacros.h in files where we use the minor() and major() functions. Signed-off-by: James Ausmus Reviewed-by: Petri Latvala --- tools/aubdump.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/aubdump.c b/tools/aubdump.c index 78d183f4..ee4d99b0 100644 --- a/tools/aubdump.c +++ b/tools/aubdump.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3