summaryrefslogtreecommitdiffstats
path: root/libs/Network
diff options
context:
space:
mode:
Diffstat (limited to 'libs/Network')
-rw-r--r--libs/Network/CMakeLists.txt4
-rw-r--r--libs/Network/tx.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/libs/Network/CMakeLists.txt b/libs/Network/CMakeLists.txt
index b0fb993..e3c488a 100644
--- a/libs/Network/CMakeLists.txt
+++ b/libs/Network/CMakeLists.txt
@@ -2,7 +2,7 @@
###
### @file libs/Network/CMakeLists.txt
###
-### @project
+### @project
###
### @brief Network CMake file
###
@@ -67,3 +67,5 @@ target_include_directories(${PROJECT_NAME}-arm PUBLIC include)
format_target_sources(${PROJECT_NAME})
# add_subdirectory(tests)
+
+ADD_ENDIANNESS_DEFINES(${PROJECT_NAME})
diff --git a/libs/Network/tx.c b/libs/Network/tx.c
index 5c89f51..67ceaf0 100644
--- a/libs/Network/tx.c
+++ b/libs/Network/tx.c
@@ -50,7 +50,7 @@
#include <types.h>
#ifdef CXX_SIMULATOR
-#include <endian.h>
+#include <bcm5719-endian.h>
#include <stdio.h>
#else
#include <printf.h>
OpenPOWER on IntegriCloud