mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
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>"
This commit is contained in:
parent
18b8a8cd78
commit
872c5ee7c5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user