From c173b3f1860863d121789b45c6fc56938b3e02ff Mon Sep 17 00:00:00 2001 From: Rhys Mainwaring Date: Tue, 5 Mar 2024 11:22:24 +0000 Subject: [PATCH] AP_DDS: add missing config include in client and type_conversions Signed-off-by: Rhys Mainwaring --- libraries/AP_DDS/AP_DDS_Client.h | 3 ++- libraries/AP_DDS/AP_DDS_Type_Conversions.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/AP_DDS/AP_DDS_Client.h b/libraries/AP_DDS/AP_DDS_Client.h index 186b40351f..260faec5c5 100644 --- a/libraries/AP_DDS/AP_DDS_Client.h +++ b/libraries/AP_DDS/AP_DDS_Client.h @@ -1,5 +1,7 @@ #pragma once +#include "AP_DDS_config.h" + #if AP_DDS_ENABLED #include "uxr/client/client.h" @@ -27,7 +29,6 @@ #include "fcntl.h" #include -#include "AP_DDS_config.h" #define DDS_MTU 512 #define DDS_STREAM_HISTORY 8 diff --git a/libraries/AP_DDS/AP_DDS_Type_Conversions.h b/libraries/AP_DDS/AP_DDS_Type_Conversions.h index 71b2e3182d..24659ff00f 100644 --- a/libraries/AP_DDS/AP_DDS_Type_Conversions.h +++ b/libraries/AP_DDS/AP_DDS_Type_Conversions.h @@ -2,6 +2,8 @@ #pragma once +#include "AP_DDS_config.h" + #if AP_DDS_ENABLED #include "builtin_interfaces/msg/Time.h"