diff --git a/libraries/AP_DDS/AP_DDS_Client.h b/libraries/AP_DDS/AP_DDS_Client.h index 65ce8fd5126fc..41b94db2ec270 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" @@ -26,7 +28,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 71b2e3182de29..24659ff00fdf1 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"