[Scummvm-git-logs] scummvm master -> 872c5ee7c53f99172472bf0950fb1da6c9049228
digitall
dgturner at iee.org
Tue Nov 7 21:13:21 CET 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
872c5ee7c5 LINUX: Fix Header for major/minor macros, thus removing warnings.
Commit: 872c5ee7c53f99172472bf0950fb1da6c9049228
https://github.com/scummvm/scummvm/commit/872c5ee7c53f99172472bf0950fb1da6c9049228
Author: D G Turner (digitall at scummvm.org)
Date: 2017-11-07T20:18:22Z
Commit Message:
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>"
Changed paths:
backends/audiocd/linux/linux-audiocd.cpp
diff --git a/backends/audiocd/linux/linux-audiocd.cpp b/backends/audiocd/linux/linux-audiocd.cpp
index caa0265..eb31156 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 {
More information about the Scummvm-git-logs
mailing list