From 4044a20ec1c30bd66576e6687d3405f1b423588e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 24 Aug 2025 17:32:34 -0700 Subject: Fix omnios clang-19 not found --- src/core/nng_impl.h | 2 +- src/platform/posix/posix_socketpair.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/nng_impl.h b/src/core/nng_impl.h index b45a3712..4fe80e63 100644 --- a/src/core/nng_impl.h +++ b/src/core/nng_impl.h @@ -22,7 +22,7 @@ // Symbols that are private to the library begin with the nni_ prefix, whereas // those starting with nng_ are intended for external consumption. The latter // symbols should be found in the toplevel nng.h header. -#include "core/defs.h" +#include "defs.h" #include "core/platform.h" diff --git a/src/platform/posix/posix_socketpair.c b/src/platform/posix/posix_socketpair.c index b2d3ef4d..7591eb88 100644 --- a/src/platform/posix/posix_socketpair.c +++ b/src/platform/posix/posix_socketpair.c @@ -40,6 +40,7 @@ nni_socket_pair(int fds[2]) nng_err nni_socket_pair(int fds[2]) { + NNI_ARG_UNUSED(fds); return (NNG_ENOTSUP); } #endif -- cgit v1.2.3-70-g09d2