diff options
author | D G Turner | 2017-11-07 20:18:22 +0000 |
---|---|---|
committer | D G Turner | 2017-11-07 20:18:22 +0000 |
commit | 872c5ee7c53f99172472bf0950fb1da6c9049228 (patch) | |
tree | daa2209e2f846fad2d1f5a449c53eb2e81ec0e0e /backends/audiocd/linux | |
parent | 18b8a8cd788880e16230e9c22381b49cdec1ea4e (diff) | |
download | scummvm-rg350-872c5ee7c53f99172472bf0950fb1da6c9049228.tar.gz scummvm-rg350-872c5ee7c53f99172472bf0950fb1da6c9049228.tar.bz2 scummvm-rg350-872c5ee7c53f99172472bf0950fb1da6c9049228.zip |
LINUX: Fix Header for major/minor macros, thus removing warnings.
Warnings are as follows:
"In the GNU C Library, "minor" is defined by <sys/sysmacros.h>.
For historical compatibility, it is currently defined by
<sys/types.h> as well, but we plan toremove this soon.
To use "minor", include <sys/sysmacros.h> directly. If you did
not intend to use a system-defined macro "minor", you should
undefine it after including <sys/types.h>"
Diffstat (limited to 'backends/audiocd/linux')
-rw-r--r-- | backends/audiocd/linux/linux-audiocd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/audiocd/linux/linux-audiocd.cpp b/backends/audiocd/linux/linux-audiocd.cpp index caa0265637..eb311569e9 100644 --- a/backends/audiocd/linux/linux-audiocd.cpp +++ b/backends/audiocd/linux/linux-audiocd.cpp @@ -62,6 +62,7 @@ #include <linux/cdrom.h> #include <sys/ioctl.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include <sys/types.h> enum { |