summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gtest_dlt_daemon_offline_log.cpp1
-rw-r--r--tests/gtest_dlt_user.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/gtest_dlt_daemon_offline_log.cpp b/tests/gtest_dlt_daemon_offline_log.cpp
index dd97c5a..aec3e96 100644
--- a/tests/gtest_dlt_daemon_offline_log.cpp
+++ b/tests/gtest_dlt_daemon_offline_log.cpp
@@ -26,6 +26,7 @@ extern "C"
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <fcntl.h>
}
#ifndef DLT_DAEMON_BLOCKING_TEST
diff --git a/tests/gtest_dlt_user.cpp b/tests/gtest_dlt_user.cpp
index 0728242..0f28b71 100644
--- a/tests/gtest_dlt_user.cpp
+++ b/tests/gtest_dlt_user.cpp
@@ -4170,7 +4170,7 @@ TEST(t_dlt_register_log_level_changed_callback, normal)
}
-
+#ifdef DLT_NETWORK_TRACE_ENABLE
/*/////////////////////////////////////// */
/* t_dlt_user_trace_network */
TEST(t_dlt_user_trace_network, normal)
@@ -4463,7 +4463,7 @@ TEST(t_dlt_user_trace_network_segmented, nullpointer)
EXPECT_LE(DLT_RETURN_OK, dlt_unregister_context(&context));
EXPECT_LE(DLT_RETURN_OK, dlt_unregister_app());
}
-
+#endif /* DLT_NETWORK_TRACE_ENABLE */
/*/////////////////////////////////////// */
/* t_dlt_set_log_mode */