summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/frame_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'FTNoIR_Tracker_PT/frame_observer.h')
-rw-r--r--FTNoIR_Tracker_PT/frame_observer.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/FTNoIR_Tracker_PT/frame_observer.h b/FTNoIR_Tracker_PT/frame_observer.h
index 4afbd72c..585a6ee7 100644
--- a/FTNoIR_Tracker_PT/frame_observer.h
+++ b/FTNoIR_Tracker_PT/frame_observer.h
@@ -10,7 +10,11 @@
#include <QMutex>
#include <opencv2/opencv.hpp>
-#include <boost/shared_ptr.hpp>
+#ifndef OPENTRACK_API
+# include <boost/shared_ptr.hpp>
+#else
+# include "FTNoIR_Tracker_PT/boost-compat.h"
+#endif
#include <set>
//-----------------------------------------------------------------------------
@@ -69,4 +73,4 @@ private:
FrameObserver(const FrameObserver&);
};
-#endif //FRAME_OBSERVER_H \ No newline at end of file
+#endif //FRAME_OBSERVER_H