qt: fix multiple compiler warnings

This commit is contained in:
ts-korhonen
2022-03-07 21:47:48 +02:00
parent fbd29271bc
commit 87546d2ce6
6 changed files with 12 additions and 8 deletions

View File

@@ -74,11 +74,13 @@ private:
extern "C" {
#ifdef Q_OS_WINDOWS
#define NOMINMAX
#include <windows.h>
#include <86box/win.h>
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <windows.h>
# include <86box/win.h>
#else
#include <strings.h>
# include <strings.h>
#endif
#include <86box/86box.h>
#include <86box/device.h>