From patchwork Wed Oct 19 15:32:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 684201 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3szbYl3TWmz9vGZ for ; Thu, 20 Oct 2016 02:33:13 +1100 (AEDT) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id BFEE21026C; Wed, 19 Oct 2016 08:33:11 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e4.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id BD21310138 for ; Wed, 19 Oct 2016 08:33:10 -0700 (PDT) Received: from bar5.cudamail.com (unknown [192.168.21.12]) by mx1e4.cudamail.com (Postfix) with ESMTPS id 24F831E0598 for ; Wed, 19 Oct 2016 09:33:10 -0600 (MDT) X-ASG-Debug-ID: 1476891189-09eadd6134133f0001-byXFYA Received: from mx1-pf2.cudamail.com ([192.168.24.2]) by bar5.cudamail.com with ESMTP id jdiCBPrBJqKD9Ob0 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 19 Oct 2016 09:33:09 -0600 (MDT) X-Barracuda-Envelope-From: cascardo@redhat.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.2 Received: from unknown (HELO mx1.redhat.com) (209.132.183.28) by mx1-pf2.cudamail.com with ESMTPS (DHE-RSA-AES256-SHA encrypted); 19 Oct 2016 15:33:09 -0000 Received-SPF: pass (mx1-pf2.cudamail.com: SPF record at _spf1.redhat.com designates 209.132.183.28 as permitted sender) X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-Barracuda-RBL-IP: 209.132.183.28 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 274703F1F9 for ; Wed, 19 Oct 2016 15:33:08 +0000 (UTC) Received: from indiana.gru.redhat.com (ovpn-116-111.phx2.redhat.com [10.3.116.111]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9JFX6Qb000647 for ; Wed, 19 Oct 2016 11:33:07 -0400 X-CudaMail-Envelope-Sender: cascardo@redhat.com From: Thadeu Lima de Souza Cascardo To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-E2-1018034549 X-CudaMail-DTE: 101916 X-CudaMail-Originating-IP: 209.132.183.28 Date: Wed, 19 Oct 2016 13:32:57 -0200 X-ASG-Orig-Subj: [##CM-E2-1018034549##][PATCH] ovn: fix build on FreeBSD Message-Id: <1476891177-6512-1-git-send-email-cascardo@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 19 Oct 2016 15:33:08 +0000 (UTC) X-Barracuda-Connect: UNKNOWN[192.168.24.2] X-Barracuda-Start-Time: 1476891189 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Subject: [ovs-dev] [PATCH] ovn: fix build on FreeBSD X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" The missing include was needed for struct in6_addr. Otherwise, this build failure would occur. In file included from ovn/lib/actions.c:23: ovn/lib/ovn-dhcp.h:163:21: error: field has incomplete type 'struct in6_addr' Signed-off-by: Thadeu Lima de Souza Cascardo --- Needed for 2.6 branch as well. --- ovn/lib/ovn-dhcp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ovn/lib/ovn-dhcp.h b/ovn/lib/ovn-dhcp.h index 65a066b..ecfcc03 100644 --- a/ovn/lib/ovn-dhcp.h +++ b/ovn/lib/ovn-dhcp.h @@ -17,6 +17,7 @@ #ifndef OVN_DHCP_H #define OVN_DHCP_H 1 +#include #include "openvswitch/hmap.h" #include "hash.h"