From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DF5C4B449 for ; Fri, 8 Jul 2016 22:37:22 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 08 Jul 2016 13:37:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,331,1464678000"; d="scan'208";a="731577659" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 08 Jul 2016 13:37:20 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u68KbKjg012695; Fri, 8 Jul 2016 21:37:20 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id u68KbKWa007309; Fri, 8 Jul 2016 21:37:20 +0100 Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id u68KbKe4007305; Fri, 8 Jul 2016 21:37:20 +0100 From: Bruce Richardson To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, Bruce Richardson Date: Fri, 8 Jul 2016 21:37:04 +0100 Message-Id: <1468010225-7260-2-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1468010225-7260-1-git-send-email-bruce.richardson@intel.com> References: <1468010225-7260-1-git-send-email-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH 1/2] pmdinfogen: fix build on FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 20:37:23 -0000 error on compilation caused by missing include for libgen.h. HOSTCC pmdinfogen.o /usr/home/bruce/dpdk/buildtools/pmdinfogen/pmdinfogen.c:402:4: error: implicit declaration of function 'basename' is invalid in C99 [-Werror,-Wimplicit-function-declaration] basename(argv[0])); Fixes: 840e5dfea3f8 ("pmdinfogen: fix usage message") Signed-off-by: Bruce Richardson --- buildtools/pmdinfogen/pmdinfogen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c index 717c8d4..e1bf2e4 100644 --- a/buildtools/pmdinfogen/pmdinfogen.c +++ b/buildtools/pmdinfogen/pmdinfogen.c @@ -15,6 +15,8 @@ #include #include #include +#include + #include #include "pmdinfogen.h" -- 2.7.4