From nobody Sun Apr 06 22:02:13 2025 X-Original-To: bugs@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 4ZW5sy09zgz5sZZY for ; Sun, 06 Apr 2025 22:02:14 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZW5sx6lpsz487Y for ; Sun, 06 Apr 2025 22:02:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743976934; 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=TIw7nB8WL9ACKo40K39zqK/jqkvvz750yoeam6cY0fU=; b=iffXKy+EajRwYbbW9V8mMOGKBWs42goxcd68zkyuvNjjMaADE7L+zPOLh+7YeyogGPrJin WabrU4NNd6YCRT/Iwncs0FhgTxW/HssaOaPBV2INcmNEZvMbCN7rbNKai/Zy7D6cegvMrk R072NXnjqmJnstZhKoH5kVQKfHHhGNUwKHh8oHmtNIrNWob/0T49dv64h/tLS+okC5nCKc r8E5sOLCeOmfwR3VLIUKbFrKkmoqfyr6T5EoYO1mLG2faansKDIC+WE5nrneFE87lH1jOc 9Z8kYzx7L2RoDlr5E/Uz2NAVU4yaRvP/SbKTCmL6E6tbkkAxkaW29F5c1I0+ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743976934; a=rsa-sha256; cv=none; b=gh/2WLFfoPWptLlb9cNQrH8A6kXRk3BZzc70Rigjt8Eo+GFxu8OyQhj2SLLBtokvWgKezu FzmcdhzkjI2k100wFvNnDJetz9lU+g4yWI72oMHB+jLG8faTy+roUKmBCtbrFJRiM2HmO2 09wyR5H/ZFMpgHf2PlH82Uqyp2dKVsygdlqfJO0Az5RyiOurCedyXNPI2Ozysa8IXH5/pK gkan8BNVnJFXVzAYh/mzewZ/pa5A9yFPnQtvwhD91gF75NOcVMro5ObO8vVmEvH9DhrVw7 XIJ5+HXugr6SWBGqLtX8HadXepSyuKgXs1G2trqFQCppblWF6JDuyIUATreRRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743976934; 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=TIw7nB8WL9ACKo40K39zqK/jqkvvz750yoeam6cY0fU=; b=dCdp1GskPa0djbTrLWkzDqhm6H2KD7iE6Av5ZTlPJkERz/KbEHLZoifZXIctt5x+So9C9L Dlj8dmjJ81aeniyfoKvQdSCPRqkvZxd65uZrmo1Pab9HsZWEJfxOFtd/fOWIKA6y6zrEnb 5fdU3wn6CxutK+ry42Lnkr94D1XzFDnvbAcTtfwsE8Aa0jHAN+6zEJ8yfsTsGGkqlwM/QJ tdQEU7j22egiAr8cQm28lRDf54YvJK8zvWBn6vlmIbh50GmSthDffM8t1PKNoHAo1bOHzo 6moBc7xmSFbYpI52mM2P3iO1hvJ1nYL2wUu2qKiezADRCXipjK71pflMRZsTWg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4ZW5sx6JQVz439 for ; Sun, 06 Apr 2025 22:02:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 536M2D9C011976 for ; Sun, 6 Apr 2025 22:02:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 536M2DhK011971 for bugs@FreeBSD.org; Sun, 6 Apr 2025 22:02:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 285924] netinet/ip.h should pull in its required type definitions Date: Sun, 06 Apr 2025 22:02:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: riggs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285924 Bug ID: 285924 Summary: netinet/ip.h should pull in its required type definitions Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: riggs@FreeBSD.org The following simple program... #include int main() { return 0; } errors out when compiled: > cc ip.c In file included from ip.c:1: /usr/include/netinet/ip.h:52:2: error: unknown type name 'u_char'; did you = mean 'char'? 52 | u_char ip_hl:4, /* header length */ | ^ /usr/include/netinet/ip.h:56:2: error: unknown type name 'u_char'; did you = mean 'char'? 56 | u_char ip_v:4, /* version */ | ^ Shouldn't it pull in the type definitions it needs, like from sys/types.h? --=20 You are receiving this mail because: You are the assignee for the bug.=