From 80c2bc3fcb09dbb9798a8591106e30b733887f64 Mon Sep 17 00:00:00 2001
From: Raphael Defosseux <raphael.defosseux@eurecom.fr>
Date: Wed, 18 Oct 2023 15:45:58 +0200
Subject: [PATCH] fix(arm-build): immintrin.h is not available

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
---
 openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c | 2 +-
 openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c b/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
index 38b3ca85e01..f9137e522c3 100644
--- a/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
+++ b/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
@@ -13,7 +13,7 @@
  */
 
 #include <stdint.h>
-#include <immintrin.h>
+#include "PHY/sse_intrin.h"
 #include "nrLDPCdecoder_defs.h"
 #include "nrLDPC_types.h"
 #include "nrLDPC_init.h"
diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c
index 20da335e6c4..6664cc761bb 100644
--- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c
+++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c
@@ -35,7 +35,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
-#include <immintrin.h>
+#include "PHY/sse_intrin.h"
 
 //#define SRS_DEBUG
 
-- 
GitLab