summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-05-10 09:22:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2020-05-10 09:23:59 +0200
commitd6eacde962eb10967561f7bcac9c40bee35a6dc8 (patch)
tree2c7be9cb05fb7544a6ac7f0c26dd7e60213385ae
parentfa1a0635523574b74e2a33221a2452b27517e53a (diff)
proto/wine: fix build on newer Wine
Patch by: @jp7677
-rw-r--r--proto-wine/opentrack-wrapper-wine-main.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto-wine/opentrack-wrapper-wine-main.cxx b/proto-wine/opentrack-wrapper-wine-main.cxx
index 3df3abc7..9248a212 100644
--- a/proto-wine/opentrack-wrapper-wine-main.cxx
+++ b/proto-wine/opentrack-wrapper-wine-main.cxx
@@ -5,7 +5,6 @@
#include <cstdio>
#include "freetrackclient/fttypes.h"
-#include "wine-shm.h"
#include "compat/export.hpp"
enum Axis {
@@ -14,6 +13,7 @@ enum Axis {
#define __WINE_OLE2_H
#include "compat/shm.h"
+#include "wine-shm.h"
void create_registry_key(void);
@@ -42,7 +42,6 @@ private:
void* mem;
void *hMutex, *hMapFile;
};
-#include <windows.h>
int main(void)
{