Message ID | 1448474637-4232-1-git-send-email-danielx.t.mrzyglod@intel.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 4D0B29575; Wed, 25 Nov 2015 19:04:32 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D4CAD9574 for <dev@dpdk.org>; Wed, 25 Nov 2015 19:04:30 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 25 Nov 2015 10:04:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,343,1444719600"; d="scan'208";a="859327308" Received: from unknown ([10.217.248.15]) by orsmga002.jf.intel.com with SMTP; 25 Nov 2015 10:04:01 -0800 Received: by (sSMTP sendmail emulation); Wed, 25 Nov 2015 19:03:59 +0100 From: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> To: dev@dpdk.org Date: Wed, 25 Nov 2015 19:03:57 +0100 Message-Id: <1448474637-4232-1-git-send-email-danielx.t.mrzyglod@intel.com> X-Mailer: git-send-email 2.5.3 Subject: [dpdk-dev] [PATCH] examples/bond: add header to support freebsd compilation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Commit Message
Daniel Mrzyglod
Nov. 25, 2015, 6:03 p.m. UTC
definition of 'AF_INET' enum was missing - is available in <sys/socket.h>
Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
---
examples/bond/main.c | 1 +
1 file changed, 1 insertion(+)
Comments
2015-11-25 19:03, Daniel Mrzyglod: > definition of 'AF_INET' enum was missing - is available in <sys/socket.h> > > Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> It is definitely the right fix as Ferruh submitted the same one less than one hour ago. Should we understand it is an ack? It seems Ferruh was hesitating about the line where inserting the include. I would say I prefer your choice :)
>-----Original Message----- >From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] >Sent: Wednesday, November 25, 2015 7:08 PM > >2015-11-25 19:03, Daniel Mrzyglod: >> definition of 'AF_INET' enum was missing - is available in <sys/socket.h> >> >> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> > >It is definitely the right fix as Ferruh submitted the same one >less than one hour ago. >Should we understand it is an ack? > >It seems Ferruh was hesitating about the line where inserting the >include. I would say I prefer your choice :) I acked Ferruh patch. I didn't notice he send patch first. You can combine both patches :> He has much better description :>
2015-12-02 10:53, Ferruh Yigit: > On Thu, Nov 26, 2015 at 09:55:17AM +0000, Mrzyglod, DanielX T wrote: > > > > > > >-----Original Message----- > > >From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > >Sent: Wednesday, November 25, 2015 7:08 PM > > > > > >2015-11-25 19:03, Daniel Mrzyglod: > > >> definition of 'AF_INET' enum was missing - is available in <sys/socket.h> > > >> > > >> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> > > > > > >It is definitely the right fix as Ferruh submitted the same one > > >less than one hour ago. > > >Should we understand it is an ack? > > > > > >It seems Ferruh was hesitating about the line where inserting the > > >include. I would say I prefer your choice :) > > > > I acked Ferruh patch. I didn't notice he send patch first. > > You can combine both patches :> He has much better description :> > > Thomas said he prefer this one, let's use this one. > > Acked-by: Ferruh Yigit <ferruh.yigit@intel.com> Applied, thanks
diff --git a/examples/bond/main.c b/examples/bond/main.c index 4622283..53bd044 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -33,6 +33,7 @@ #include <stdint.h> #include <sys/queue.h> +#include <sys/socket.h> #include <stdlib.h> #include <string.h> #include <stdio.h>