From 31cce8930a45b2518996a686261af46bf2ce4181 Mon Sep 17 00:00:00 2001
From: Jon Evans <jon@craftyjon.com>
Date: Tue, 7 Jan 2025 19:22:00 -0500
Subject: [PATCH] Fix conflict with Windows API

---
 common/api/api_handler_common.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/api/api_handler_common.cpp b/common/api/api_handler_common.cpp
index ab0e9df85d..a6ac0d3dfe 100644
--- a/common/api/api_handler_common.cpp
+++ b/common/api/api_handler_common.cpp
@@ -44,7 +44,7 @@ using google::protobuf::Empty;
 API_HANDLER_COMMON::API_HANDLER_COMMON() :
         API_HANDLER()
 {
-    registerHandler<GetVersion, GetVersionResponse>( &API_HANDLER_COMMON::handleGetVersion );
+    registerHandler<commands::GetVersion, GetVersionResponse>( &API_HANDLER_COMMON::handleGetVersion );
     registerHandler<GetKiCadBinaryPath, PathResponse>(
             &API_HANDLER_COMMON::handleGetKiCadBinaryPath );
     registerHandler<GetNetClasses, NetClassesResponse>( &API_HANDLER_COMMON::handleGetNetClasses );
@@ -66,7 +66,7 @@ API_HANDLER_COMMON::API_HANDLER_COMMON() :
 
 
 HANDLER_RESULT<GetVersionResponse> API_HANDLER_COMMON::handleGetVersion(
-        const HANDLER_CONTEXT<GetVersion>& )
+        const HANDLER_CONTEXT<commands::GetVersion>& )
 {
     GetVersionResponse reply;