[dpdk-dev] [PATCH] lpm6: fix missing header dependency

Igor Ryzhov iryzhov at nfware.com
Thu Apr 28 14:08:33 CEST 2016


Include stdint.h for the definition of uint*_t types.

Signed-off-by: Igor Ryzhov <iryzhov at nfware.com>
---
 lib/librte_lpm/rte_lpm6.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_lpm/rte_lpm6.h b/lib/librte_lpm/rte_lpm6.h
index cedcea8..13d027f 100644
--- a/lib/librte_lpm/rte_lpm6.h
+++ b/lib/librte_lpm/rte_lpm6.h
@@ -38,6 +38,8 @@
  * RTE Longest Prefix Match for IPv6 (LPM6)
  */
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-- 
2.6.4



More information about the dev mailing list