version: fix include

When including rte_version.h without string.h, there is a compilation error:
include/rte_version.h: error: implicit declaration of function ‘strlen’

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Thomas Monjalon 2015-03-13 18:25:44 +01:00
parent 8d59064fb3
commit f7ff1d7476

View File

@ -44,6 +44,7 @@ extern "C" {
#endif
#include <stdint.h>
#include <string.h>
#include <rte_common.h>
/**