summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--proto-wine/opentrack-wrapper-wine-main.cxx1
-rw-r--r--proto-wine/opentrack-wrapper-wine-windows.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/proto-wine/opentrack-wrapper-wine-main.cxx b/proto-wine/opentrack-wrapper-wine-main.cxx
index 6370e7f4..3df3abc7 100644
--- a/proto-wine/opentrack-wrapper-wine-main.cxx
+++ b/proto-wine/opentrack-wrapper-wine-main.cxx
@@ -12,6 +12,7 @@ enum Axis {
TX = 0, TY, TZ, Yaw, Pitch, Roll
};
+#define __WINE_OLE2_H
#include "compat/shm.h"
void create_registry_key(void);
diff --git a/proto-wine/opentrack-wrapper-wine-windows.cxx b/proto-wine/opentrack-wrapper-wine-windows.cxx
index d464cf6c..88ced502 100644
--- a/proto-wine/opentrack-wrapper-wine-windows.cxx
+++ b/proto-wine/opentrack-wrapper-wine-windows.cxx
@@ -3,6 +3,7 @@
#endif
#define shm_wrapper ShmWine
+#define __WINE_OLE2_H
#include "compat/shm.h"
#include "compat/shm.cpp"
#include "wine-shm.h"