summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/rw_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/DPPD-PROX/rw_reg.c')
-rw-r--r--VNFs/DPPD-PROX/rw_reg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/rw_reg.c b/VNFs/DPPD-PROX/rw_reg.c
index a0e59085..b4f6c214 100644
--- a/VNFs/DPPD-PROX/rw_reg.c
+++ b/VNFs/DPPD-PROX/rw_reg.c
@@ -14,6 +14,10 @@
// limitations under the License.
*/
+#include <rte_version.h>
+#if RTE_VERSION >= RTE_VERSION_NUM(21,11,0,0)
+#include <ethdev_driver.h> // Please configure DPDK with meson option -Denable_driver_sdk=true
+#endif
#include <rte_ethdev.h>
#include "rw_reg.h"