From: Bruce Richardson Date: Fri, 8 Jul 2016 20:37:04 +0000 (+0100) Subject: pmdinfogen: fix build on FreeBSD X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6a4f87f1e76db2633ea237521fe5af9c657a6cd2;p=dpdk.git pmdinfogen: fix build on FreeBSD error on compilation caused by missing include for libgen.h. buildtools/pmdinfogen/pmdinfogen.c:402:4: error: implicit declaration of function 'basename' is invalid in C99 basename(argv[0])); Fixes: 840e5dfea3f8 ("pmdinfogen: fix usage message") Signed-off-by: Bruce Richardson --- diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c index 717c8d4bf5..e1bf2e4617 100644 --- a/buildtools/pmdinfogen/pmdinfogen.c +++ b/buildtools/pmdinfogen/pmdinfogen.c @@ -15,6 +15,8 @@ #include #include #include +#include + #include #include "pmdinfogen.h"