aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-08-24 17:32:34 -0700
committerGarrett D'Amore <garrett@damore.org>2025-08-24 18:11:14 -0700
commit4044a20ec1c30bd66576e6687d3405f1b423588e (patch)
treec61f404f51f7bc51c6ebc170ca755fc98662d8ed /src
parent626d8ad9dcbc7f82733e380531e5e78772d46917 (diff)
downloadnng-4044a20ec1c30bd66576e6687d3405f1b423588e.tar.gz
nng-4044a20ec1c30bd66576e6687d3405f1b423588e.tar.bz2
nng-4044a20ec1c30bd66576e6687d3405f1b423588e.zip
Fix omnios clang-19 not found
Diffstat (limited to 'src')
-rw-r--r--src/core/nng_impl.h2
-rw-r--r--src/platform/posix/posix_socketpair.c1
2 files changed, 2 insertions, 1 deletions
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