summaryrefslogtreecommitdiffhomepage
path: root/proto-wine
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-02-03 21:53:26 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-02-03 21:53:26 +0100
commitf9c56da355b061fa4eb330ec7352a2f41186fc18 (patch)
tree6e0df7ca6eaa207e91300478ccfa8dafbac25284 /proto-wine
parent9c974ebc46046b2fcaddf51e924c8b23ed20367a (diff)
proto/wine: fix includes
Diffstat (limited to 'proto-wine')
-rw-r--r--proto-wine/ftnoir_protocol_wine.cpp9
-rw-r--r--proto-wine/opentrack-wrapper-wine-windows.cxx2
2 files changed, 8 insertions, 3 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp
index bed1fed3..5d46f18a 100644
--- a/proto-wine/ftnoir_protocol_wine.cpp
+++ b/proto-wine/ftnoir_protocol_wine.cpp
@@ -1,12 +1,15 @@
#include "ftnoir_protocol_wine.h"
-#include <QString>
-#include <string.h>
-#include <math.h>
#ifndef OTR_WINE_NO_WRAPPER
# include "csv/csv.h"
#endif
#include "compat/library-path.hpp"
+#include <cstring>
+#include <cmath>
+
+#include <QString>
+#include <QDebug>
+
wine::wine() = default;
wine::~wine()
diff --git a/proto-wine/opentrack-wrapper-wine-windows.cxx b/proto-wine/opentrack-wrapper-wine-windows.cxx
index 88ced502..08e9882a 100644
--- a/proto-wine/opentrack-wrapper-wine-windows.cxx
+++ b/proto-wine/opentrack-wrapper-wine-windows.cxx
@@ -8,7 +8,9 @@
#include "compat/shm.cpp"
#include "wine-shm.h"
#include "compat/library-path.hpp"
+#include <cstdlib>
#include <cstring>
+#include <sysexits.h>
using std::strcat;