From 85ee4647b502eb09b804ca491b8cbbe3fab55a5f Mon Sep 17 00:00:00 2001 From: francescomani Date: Mon, 14 Apr 2025 19:13:33 +0200 Subject: [PATCH] remove NR/nr_rrc_defs.h dependency from asn1_msg.h --- openair2/COMMON/rrc_messages_types.h | 1 + openair2/F1AP/f1ap_cu_task.c | 1 + openair2/RRC/NR/MESSAGES/asn1_msg.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openair2/COMMON/rrc_messages_types.h b/openair2/COMMON/rrc_messages_types.h index 124298cf40..a3db7ebba6 100644 --- a/openair2/COMMON/rrc_messages_types.h +++ b/openair2/COMMON/rrc_messages_types.h @@ -29,6 +29,7 @@ #ifndef RRC_MESSAGES_TYPES_H_ #define RRC_MESSAGES_TYPES_H_ #include "common/utils/mem/oai_memory.h" +#include "openair1/PHY/defs_common.h" #include "as_message.h" #include "rrc_types.h" #include "s1ap_messages_types.h" diff --git a/openair2/F1AP/f1ap_cu_task.c b/openair2/F1AP/f1ap_cu_task.c index deb272776f..4528a7766f 100644 --- a/openair2/F1AP/f1ap_cu_task.c +++ b/openair2/F1AP/f1ap_cu_task.c @@ -38,6 +38,7 @@ #include "lib/f1ap_interface_management.h" #include "f1ap_cu_paging.h" #include "f1ap_cu_task.h" +#include "openair2/RRC/NR/nr_rrc_defs.h" #include //Fixme: Uniq dirty DU instance, by global var, datamodel need better management diff --git a/openair2/RRC/NR/MESSAGES/asn1_msg.h b/openair2/RRC/NR/MESSAGES/asn1_msg.h index 7956e514c0..3d09a65bd0 100644 --- a/openair2/RRC/NR/MESSAGES/asn1_msg.h +++ b/openair2/RRC/NR/MESSAGES/asn1_msg.h @@ -50,7 +50,6 @@ #include "NR_ReestablishmentCause.h" #include "NR_SRB-ToAddModList.h" #include "NR_SecurityConfig.h" -#include "RRC/NR/nr_rrc_defs.h" #include "ds/seq_arr.h" #include "rrc_messages_types.h" struct NR_RRCReconfiguration_v1530_IEs__dedicatedNAS_MessageList;