Fix compile error when --build-e2 option included

- modify byte_array.h in order to avoid conflict for same file names
This commit is contained in:
Teodora
2023-10-02 15:40:36 +02:00
committed by Robert Schmidt
parent 9127258a54
commit 2eaac0351d
3 changed files with 24 additions and 3 deletions
+6 -2
View File
@@ -19,8 +19,10 @@
* contact@openairinterface.org
*/
#ifndef BYTE_ARRAY_H_OAI
#define BYTE_ARRAY_H_OAI
#ifndef BYTE_ARRAY_H
#define BYTE_ARRAY_H
/* WARNING: This file is also defined at XXXXX. Both files need to be completely equal. Same applies for *.c */
#include <stdbool.h>
#include <stdint.h>
@@ -39,4 +41,6 @@ byte_array_t copy_byte_array(byte_array_t src);
void free_byte_array(byte_array_t ba);
bool eq_byte_array(const byte_array_t* m0, const byte_array_t* m1);
byte_array_t cp_str_to_ba(const char* str);
#endif