Re: [dpdk-dev] [PATCH v1 5/6] fix missing includes in exported headers

2017-12-21 Thread Bruce Richardson
On Thu, Dec 21, 2017 at 03:50:31PM +0100, Adrien Mazarguil wrote: > On Thu, Dec 21, 2017 at 02:12:57PM +, Bruce Richardson wrote: > > On Thu, Dec 21, 2017 at 02:00:04PM +0100, Adrien Mazarguil wrote: > > > Many exported headers rely on definitions found in rte_config.h without > > > including i

Re: [dpdk-dev] [PATCH v1 5/6] fix missing includes in exported headers

2017-12-21 Thread Adrien Mazarguil
On Thu, Dec 21, 2017 at 02:12:57PM +, Bruce Richardson wrote: > On Thu, Dec 21, 2017 at 02:00:04PM +0100, Adrien Mazarguil wrote: > > Many exported headers rely on definitions found in rte_config.h without > > including it, as shown by the following command: > > > > grep -L '^#include ' -- \

Re: [dpdk-dev] [PATCH v1 5/6] fix missing includes in exported headers

2017-12-21 Thread Bruce Richardson
On Thu, Dec 21, 2017 at 02:00:04PM +0100, Adrien Mazarguil wrote: > Many exported headers rely on definitions found in rte_config.h without > including it, as shown by the following command: > > grep -L '^#include ' -- \ > $(grep -Rl \ > $(sed -n '/^#define \([^ ]\+\).*$/{s//\1/;H;};${x;s/\

[dpdk-dev] [PATCH v1 5/6] fix missing includes in exported headers

2017-12-21 Thread Adrien Mazarguil
Many exported headers rely on definitions found in rte_config.h without including it, as shown by the following command: grep -L '^#include ' -- \ $(grep -Rl \ $(sed -n '/^#define \([^ ]\+\).*$/{s//\1/;H;};${x;s/\n//;s/\n/\\|/g;p;}' \ build/include/rte_config.h) \ -- build/include