[dpdk-dev] [PATCH 07/13] net/avp: fix errors in exported headers
Legacy, Allain
Allain.Legacy at windriver.com
Mon Apr 24 18:19:43 CEST 2017
> -----Original Message-----
> From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com]
> Sent: Monday, April 24, 2017 11:53 AM
<...>
> diff --git a/drivers/net/avp/rte_avp_common.h
> b/drivers/net/avp/rte_avp_common.h
> index 31d763e..6cdaca9 100644
> --- a/drivers/net/avp/rte_avp_common.h
> +++ b/drivers/net/avp/rte_avp_common.h
> @@ -57,9 +57,18 @@
> #ifndef _RTE_AVP_COMMON_H_
> #define _RTE_AVP_COMMON_H_
>
> +#include <stdint.h>
> #ifdef __KERNEL__
> #include <linux/if.h>
> #endif
> +#include <rte_common.h>
> +#include <rte_memory.h>
> +#include <rte_ether.h>
> +#include <rte_atomic.h>
These 4 are going to need to be in an #else of the #ifdef __KERNEL__ otherwise our local kernel module build will fail.
More information about the dev
mailing list