summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack/options.hpp3
-rw-r--r--opentrack/plugin-support.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/opentrack/options.hpp b/opentrack/options.hpp
index 1d54e8b3..af2e94d0 100644
--- a/opentrack/options.hpp
+++ b/opentrack/options.hpp
@@ -32,6 +32,9 @@
#include <QDebug>
+#include <memory>
+template<typename t> using mem = std::shared_ptr<t>;
+
namespace options {
template<typename k, typename v>
using map = std::map<k, v>;
diff --git a/opentrack/plugin-support.h b/opentrack/plugin-support.h
index ad3f2af8..a2b6d403 100644
--- a/opentrack/plugin-support.h
+++ b/opentrack/plugin-support.h
@@ -1,6 +1,7 @@
#pragma once
#include "plugin-api.hpp"
+#include "options.hpp"
#include <QWidget>
#include <QDebug>
@@ -9,8 +10,6 @@
#include <QFrame>
#include <QList>
-#include <memory>
-template<typename t> using mem = std::shared_ptr<t>;
extern "C" typedef void* (*CTOR_FUNPTR)(void);
extern "C" typedef Metadata* (*METADATA_FUNPTR)(void);