[dpdk-dev] lpm6: fix missing header dependency

Message ID 1461845313-11513-1-git-send-email-iryzhov@nfware.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Igor Ryzhov April 28, 2016, 12:08 p.m. UTC
  Include stdint.h for the definition of uint*_t types.

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

Comments

Thomas Monjalon May 2, 2016, 10:35 a.m. UTC | #1
2016-04-28 15:08, Igor Ryzhov:
> Include stdint.h for the definition of uint*_t types.
> 
> Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>

Applied, thanks
  

Patch

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