diff options
author | Ausmus, James <james.ausmus@intel.com> | 2017-09-27 16:08:27 -0700 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2017-10-04 13:37:31 +0300 |
commit | 7c9dccb596b6467899c993a7df5d32574c1b89b9 (patch) | |
tree | 8fdfa34392f7c1b1cd0bf5dde53e2ae257bcd707 /tools | |
parent | 7fd0cae99630f954cfe0089b4b7e91576a353582 (diff) |
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 <james.ausmus@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/aubdump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aubdump.c b/tools/aubdump.c index 78d183f49..ee4d99b06 100644 --- a/tools/aubdump.c +++ b/tools/aubdump.c @@ -30,6 +30,7 @@ #include <stdarg.h> #include <fcntl.h> #include <sys/types.h> +#include <sys/sysmacros.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <unistd.h> |