aboutsummaryrefslogtreecommitdiff
path: root/profiling/common/src/NetworkSockets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profiling/common/src/NetworkSockets.cpp')
-rw-r--r--profiling/common/src/NetworkSockets.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/profiling/common/src/NetworkSockets.cpp b/profiling/common/src/NetworkSockets.cpp
index 15ad087d1e..84711c6215 100644
--- a/profiling/common/src/NetworkSockets.cpp
+++ b/profiling/common/src/NetworkSockets.cpp
@@ -3,6 +3,8 @@
// SPDX-License-Identifier: MIT
//
+#if !defined(ARMNN_DISABLE_SOCKETS)
+
#include <common/include/NetworkSockets.hpp>
#if defined(__unix__) || defined(__APPLE__)
@@ -112,3 +114,5 @@ arm::pipe::Socket Accept(Socket s, sockaddr* addr, socklen_t* addrlen, int flags
} // pipe
} // arm
+
+#endif