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:
D G Turner 2017-11-07 20:18:22 +00:00
parent 18b8a8cd78
commit 872c5ee7c5

View File

@ -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 {