Fix warnings
In file included from /home/boud/dev/resources/plugins/extensions/pykrita/plugin/PythonPluginManager.h:27:0,
from /home/boud/dev/resources/plugins/extensions/pykrita/plugin/plugin.h:28, from /home/boud/dev/resources/plugins/extensions/pykrita/plugin/plugin.cpp:18:
/home/boud/dev/resources/plugins/extensions/pykrita/plugin/version_checker.h:50:13: warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
int major() const { ^~~~~~~~~~~
In file included from /home/boud/dev/resources/plugins/extensions/pykrita/plugin/PythonPluginManager.h:27:0,
from /home/boud/dev/resources/plugins/extensions/pykrita/plugin/plugin.h:28, from /home/boud/dev/resources/plugins/extensions/pykrita/plugin/plugin.cpp:18:
/home/boud/dev/resources/plugins/extensions/pykrita/plugin/version_checker.h:53:13: warning: 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 to
remove 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>.
int minor() const { ^~~~~~~~~~~