From patchwork Tue May 21 01:54:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bugzilla@dpdk.org X-Patchwork-Id: 53557 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D44B611C5; Tue, 21 May 2019 03:54:38 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 33) id A6FE711C5; Tue, 21 May 2019 03:54:36 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 21 May 2019 01:54:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 18.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cem@FreeBSD.org X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- 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 target_milestone Message-ID: X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 282] Fix missing headers in FreeBSD CURRENT build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=282 Bug ID: 282 Summary: Fix missing headers in FreeBSD CURRENT build Product: DPDK Version: 18.05 Hardware: All OS: FreeBSD Status: CONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: cem@FreeBSD.org Target Milestone: --- After header pollution cleanup, some files in DPDK 18.05.1 no longer compile. The fixes are straightforward. I don't know if the problem is still present in newer DPDK but I wouldn't be surprised if it were. Feel free to consider these patches in the public domain, or CC0 if you're European: --- kernel/freebsd/contigmem/contigmem.c.orig 2018-09-05 14:29:02 UTC +++ kernel/freebsd/contigmem/contigmem.c @@ -9,9 +9,12 @@ #include #include #include +#include #include +#include #include #include +#include #include #include #include --- kernel/freebsd/nic_uio/nic_uio.c.orig 2018-09-05 14:29:02 UTC +++ kernel/freebsd/nic_uio/nic_uio.c @@ -9,6 +9,7 @@ #include /* types used in module initialization */ #include /* cdevsw struct */ #include /* structs, prototypes for pci bus stuff and DEVMETHOD */ +#include /* used by vm_pager.h => MPASS() */ #include #include #include