summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_wine/wine-shm.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:25:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:25:19 +0200
commit69236c0317a30bf100ec4f3d0f8e58fdc565a34b (patch)
tree0e754b9454982efb0b3b9ac40ed769543d87f159 /ftnoir_protocol_wine/wine-shm.h
parentd3d17ad9b662aca4327b7b63ba1824eb14d7874b (diff)
fix Wine proto bitrot
Diffstat (limited to 'ftnoir_protocol_wine/wine-shm.h')
-rw-r--r--ftnoir_protocol_wine/wine-shm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftnoir_protocol_wine/wine-shm.h b/ftnoir_protocol_wine/wine-shm.h
index ddbda8b5..c0f29cd3 100644
--- a/ftnoir_protocol_wine/wine-shm.h
+++ b/ftnoir_protocol_wine/wine-shm.h
@@ -3,6 +3,10 @@
#define WINE_SHM_NAME "facetracknoir-wine-shm"
#define WINE_MTX_NAME "facetracknoir-wine-mtx"
+#include <memory>
+
+template<typename t> using ptr = std::shared_ptr<t>;
+
struct WineSHM {
double data[6];
int gameid, gameid2;