From 39521c60d35aed26c56e3874a08d4933f5f3c3fc Mon Sep 17 00:00:00 2001 From: epernod Date: Sat, 31 Oct 2020 23:49:56 +0100 Subject: [PATCH] [SofaHaptics] Fix LCPForceFeedback_test compilation on gcc --- modules/SofaHaptics/SofaHaptics_test/LCPForceFeedback_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/SofaHaptics/SofaHaptics_test/LCPForceFeedback_test.cpp b/modules/SofaHaptics/SofaHaptics_test/LCPForceFeedback_test.cpp index 632d7814d68..6bd5af03f39 100644 --- a/modules/SofaHaptics/SofaHaptics_test/LCPForceFeedback_test.cpp +++ b/modules/SofaHaptics/SofaHaptics_test/LCPForceFeedback_test.cpp @@ -29,6 +29,7 @@ #include #include +#include namespace sofa @@ -92,7 +93,6 @@ void LCPForceFeedback_test::HapticsThread(std::atomic& terminate, void * p LCPForceFeedback_test* driverTest = static_cast(p_this); // Loop Timer - HANDLE h_timer; long targetSpeedLoop = 1; // Target loop speed: 1ms ctime_t refTicksPerMs = CTime::getRefTicksPerSec() / 1000;