aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/posix/CMakeLists.txt')
-rw-r--r--src/platform/posix/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/platform/posix/CMakeLists.txt b/src/platform/posix/CMakeLists.txt
index dcfea221..b8e3782e 100644
--- a/src/platform/posix/CMakeLists.txt
+++ b/src/platform/posix/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright 2020 Staysail Systems, Inc. <info@staystail.tech>
+# Copyright 2023 Staysail Systems, Inc. <info@staystail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
@@ -61,6 +61,7 @@ if (NNG_PLATFORM_POSIX)
nng_check_sym(LOCAL_PEERPID sys/un.h NNG_HAVE_LOCALPEERPID)
nng_check_sym(getpeerucred ucred.h NNG_HAVE_GETPEERUCRED)
nng_check_sym(atomic_flag_test_and_set stdatomic.h NNG_HAVE_STDATOMIC)
+ nng_check_sym(socketpair sys/socket.h NNG_HAVE_SOCKETPAIR)
nng_sources(
posix_impl.h
@@ -78,9 +79,12 @@ if (NNG_PLATFORM_POSIX)
posix_ipcconn.c
posix_ipcdial.c
posix_ipclisten.c
+ posix_peerid.c
posix_pipe.c
posix_resolv_gai.c
posix_sockaddr.c
+ posix_socketpair.c
+ posix_sockfd.c
posix_tcpconn.c
posix_tcpdial.c
posix_tcplisten.c