From 17a75137de0b57e3a1c4ee018a57682230ff4435 Mon Sep 17 00:00:00 2001 From: "Joakim L. Gilje" Date: Thu, 16 Dec 2021 12:53:04 +0100 Subject: [PATCH] include for std::min --- src/qt/qt_settingsmachine.cpp | 2 ++ src/qt/sdl_joystick.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/qt/qt_settingsmachine.cpp b/src/qt/qt_settingsmachine.cpp index 267ea06ae..d278031cb 100644 --- a/src/qt/qt_settingsmachine.cpp +++ b/src/qt/qt_settingsmachine.cpp @@ -7,6 +7,8 @@ #include #include +#include + extern "C" { #include "../cpu/cpu.h" diff --git a/src/qt/sdl_joystick.cpp b/src/qt/sdl_joystick.cpp index 5a8100ee5..60d2dafad 100644 --- a/src/qt/sdl_joystick.cpp +++ b/src/qt/sdl_joystick.cpp @@ -2,6 +2,8 @@ #include +#include + extern "C" { #include <86box/device.h> #include <86box/gameport.h>