From nobody Mon Jan 15 10:36:12 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 4TD7ph4VGTz56bPd; Mon, 15 Jan 2024 10:36:12 +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 4TD7ph3qncz47tC; Mon, 15 Jan 2024 10:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314972; 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=TlTqVjwD6zmtC+hKk0ufal2jK/JKIyoQhs1oYYfKP/w=; b=fuSU/X56nnhin6zVF1emTirpFMUxqDlCnH/5jvMmZ4FMr9lmcXW6KDaoUwye8CNvEBq8B3 xM7PCSdLhXtQalM8qDyZQNqUJkjD8lREHR7lKDxktxpJ5t89mhS9Lbo/rFsgzB8W6CcYo7 3VYXwPJGuuJxzUoavIrOVfoJp6morIsw3y1TvpXbPkBoMTN+ag5zFpXlnI3Ppw0iaXFZuS 6QanXhfUcqR0+elHTiMrGC83X+EGeF1+iLVMMdt/gsoD09s7CE0tA4QIPoyvkeL92Wjd9/ 6Axq/t1yRRX5bTWGEH8ArQLTaZwM8umIP9r4N8MyrxNSxHUaDLBU7tIInFR9FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314972; 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=TlTqVjwD6zmtC+hKk0ufal2jK/JKIyoQhs1oYYfKP/w=; b=BS6uZV2iKn1MogYCBIsoJzrAKC6lamjx7KrVf0WjYVRPbJfeKlLkyRXC1FaAxcIAxS27Jw uK8DidUWY5z6dgKiz8GIXLumiwbHr0hzBbhty1c+kltO9sbkyBQSStxBOE3bet5L2kXJia D4C8yoagjVOAJ/JJE981AGYF35S7zvdBvc2bRyTivK++ii6X5TWeb6JwE5AuyNCUhQsRit tn3CCAEfIQoFPSsGeACaTIvSPmwV5e6ttFqHYFvwRBzJ6VET1vBYgNNK2Wm6AMWbHwBEuj BcRO1w6DGSat1Hfc+64/jDmnhVSQpLoPV8tYvxv1T7bqUA0RSH0wPCmirfpiZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705314972; a=rsa-sha256; cv=none; b=I2szlzji1SSVLjLAnFquWkf4gvsLuh2hmwUwXdt1ryHT1JGzuttZ3SnCLqSe9/lnyUVpqy /MZ2id5H5HxJGJV48QbZMYRQULQmkCNWO9XmAiSkLUEI9/oUwsSDK5/lzwQiwi4j+EWu9o rWXnEAg0qGUcKbXOQ3gwDeD/V3tu1xiQlzkuW+K1f+vLZpqE59uq26n/PjKDR140xHu2sn lujW5gqzATPDR9+GpL2adEgIsq+0t+Vkcuisgy9hxwlHBPRQTRcjYnHzbrqu021ohV8s/x YwwtflGNsQws+nVrcGMY6LdFy4+Bj2cbSnJkjAT4d0+3/yXLBot+k9/R+SzSZg== 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 4TD7ph2wkCztQH; Mon, 15 Jan 2024 10:36:12 +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 40FAaC0x020869; Mon, 15 Jan 2024 10:36:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40FAaCFn020866; Mon, 15 Jan 2024 10:36:12 GMT (envelope-from git) Date: Mon, 15 Jan 2024 10:36:12 GMT Message-Id: <202401151036.40FAaCFn020866@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: 4487c6281b6a - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 4487c6281b6a9347731a06aafada7be57aa2fe19 Auto-Submitted: auto-generated The branch stable/13 has been updated by nyan: URL: https://cgit.FreeBSD.org/src/commit/?id=4487c6281b6a9347731a06aafada7be57aa2fe19 commit 4487c6281b6a9347731a06aafada7be57aa2fe19 Author: Jan Beich AuthorDate: 2024-01-08 11:52:08 +0000 Commit: Yoshihiro Takahashi CommitDate: 2024-01-15 10:35:35 +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