From nobody Mon Jan 15 10:34:44 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TD7n02X6wz56bPL; Mon, 15 Jan 2024 10:34:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TD7n01lPbz47SV; Mon, 15 Jan 2024 10:34:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cOMWRYW3BFulVOXSdcDxfy8ZrdRPLzb/M1h08kedJTo=; b=BD+VroLW09ivXmwuZrMIB7x6R3EIPpu6tBpz5nJiidZ1TqlEh/NWobiS5Ko0t13PR5AWhY h0dGkvtLXT67nlTY9NB6FKeLUHtniBdm9mqG/33toNQZzywoo3z7LYxX31OL8G3V/DbHp1 sF5/Cz0RXI6DfYqaaXtRBU7zg9g/Guitxe6ZdOk0aqaGxpw6u3BZ98crZFovgUwWhaZYyB BOmSqPPNQlPQW9NHk3ML/gefO5wjWtVeLdfPaBlBvgDIH8m73NwTmmGroKsqFpXKe5nUHU aeBFeV/Gexaj1L8mjVQP3FaTLPUB3w0tbrQu9fnfDkxyHI6zUOHDhEvbcffK9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cOMWRYW3BFulVOXSdcDxfy8ZrdRPLzb/M1h08kedJTo=; b=cAC4N3sVnwMIS4lcDsa6zUv9l7Y+Wl4WJPSq/NJuIAq+gjTKcHcn3WUZ6BmVKgUToU3XLd +43UZv3NM29zPmK8I6WtIzKr6vumZigjEnRKJSN9yPhVjzpUYL6EuLfWQ6j6mnAFKmHSI3 us6wPIQhRxdwla6zEtWRCchIUyNeFisitbhwWItUW2cQkCCBrCELcvBDbqLwtaThgm0bKX s/qDdtRIk7kY2AsxsEObsjqsj6FhOn8tqw7vIXkx7IXTuZtOLKRsjVVcVQlwMqf3Nn8Mp/ QXOH7AJ9t4iWm0vXzwyK65NyHX7FTKHqYYTVbikKKs4nLKffQvYJXYmiF/EBLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705314884; a=rsa-sha256; cv=none; b=P6DJ3pc5lnTa4qKP59swy1QGgsO4HX0xLCS8oJgum/AyU3KbbcZdZ/BperOM7jFcerJbeJ zYv5X8dEbCm+GZjcHMeRpVJ8HY8vxbswzQAd3seFHZ99LZ+HWyeGoKGPAo4759JiWgU4PQ XdNtjftolTIX2d9mRTa0gN4gKtl1A2amgJndOkLA0YOHCInYPE8lOSm5MtBslgJZEs/2cy CJv7JfJpFhVRO8vO6rLtE7lZEoGKKaEUzi9SMDdqjCTDhpF2jkzyPkZYMfPI8/CwtGi4vh sDWeX2gt7GELGOAnks2QmABkBQ/Dk6ko+CBNgSnzISuNKzdQIT0rSq93FGH8kQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TD7n00pYgzskp; Mon, 15 Jan 2024 10:34:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40FAYi42020517; Mon, 15 Jan 2024 10:34:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40FAYiN5020514; Mon, 15 Jan 2024 10:34:44 GMT (envelope-from git) Date: Mon, 15 Jan 2024 10:34:44 GMT Message-Id: <202401151034.40FAYiN5020514@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Yoshihiro Takahashi Subject: git: 5a70219b209f - stable/14 - resolv: Add a required include to resolv.h List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nyan X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 5a70219b209f4ba8e8244d3886d364da4c00e4df Auto-Submitted: auto-generated The branch stable/14 has been updated by nyan: URL: https://cgit.FreeBSD.org/src/commit/?id=5a70219b209f4ba8e8244d3886d364da4c00e4df commit 5a70219b209f4ba8e8244d3886d364da4c00e4df Author: Jan Beich AuthorDate: 2024-01-08 11:52:08 +0000 Commit: Yoshihiro Takahashi CommitDate: 2024-01-15 10:33:59 +0000 resolv: Add a required include to resolv.h Add a required include to resolv.h for sockaddr_in. This should reduce patching required when porting code written with Linux or NetBSD in mind. PR: 182466 MFC after: 1 week (cherry picked from commit 58cf91d3b72a01777bacf72d66a648a744ae3143) --- include/resolv.h | 1 + lib/libc/net/resolver.3 | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/resolv.h b/include/resolv.h index 467648b2aa53..b3986d35bc56 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -59,6 +59,7 @@ #include #include #include +#include #include /*% diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index e11159583f55..5ddbbc6fa1dd 100644 --- a/lib/libc/net/resolver.3 +++ b/lib/libc/net/resolver.3 @@ -27,7 +27,7 @@ .\" .\" @(#)resolver.3 8.1 (Berkeley) 6/4/93 .\" -.Dd September 15, 2022 +.Dd January 8, 2024 .Dt RESOLVER 3 .Os .Sh NAME @@ -47,9 +47,6 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h -.In netinet/in.h -.In arpa/nameser.h .In resolv.h .Ft int .Fo res_query