]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: check for sendmsg
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Jan 2023 22:25:15 +0000 (23:25 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jan 2023 07:51:51 +0000 (08:51 +0100)
Used by ngtcp2

Closes #10211

CMakeLists.txt

index 982cf6729b8a0b17b884811e4056fb28de64d088..e2b786bc838117f206d468570ffd107078ff2383 100644 (file)
@@ -1048,6 +1048,7 @@ check_symbol_exists(socket        "${CURL_INCLUDES}" HAVE_SOCKET)
 check_symbol_exists(socketpair    "${CURL_INCLUDES}" HAVE_SOCKETPAIR)
 check_symbol_exists(recv          "${CURL_INCLUDES}" HAVE_RECV)
 check_symbol_exists(send          "${CURL_INCLUDES}" HAVE_SEND)
+check_symbol_exists(sendmsg       "${CURL_INCLUDES}" HAVE_SENDMSG)
 check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)
 check_symbol_exists(strdup        "${CURL_INCLUDES}" HAVE_STRDUP)
 check_symbol_exists(strtok_r      "${CURL_INCLUDES}" HAVE_STRTOK_R)