From: Hiroshi Shimamoto Date: Thu, 12 Jun 2014 08:10:50 +0000 (+0000) Subject: mem: fix build because of missing stdio.h for FILE X-Git-Tag: spdx-start~10580 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e957e2ca8049835da1a9a23a662716abf5de2bf0;p=dpdk.git mem: fix build because of missing stdio.h for FILE Since commit "add FILE argument to debug functions" (591a9d7985c1230), application which includes rte_memory.h without stdio.h will be hit compilation failure: /path/to/include/rte_memory.h:146:30: error: unknown type name ‘FILE’ void rte_dump_physmem_layout(FILE *f); Signed-off-by: Hiroshi Shimamoto Reviewed-by: Hayato Momma Acked-by: Thomas Monjalon --- diff --git a/lib/librte_eal/common/include/rte_memory.h b/lib/librte_eal/common/include/rte_memory.h index 7f21244ac8..4cf8ea9c05 100644 --- a/lib/librte_eal/common/include/rte_memory.h +++ b/lib/librte_eal/common/include/rte_memory.h @@ -42,6 +42,7 @@ #include #include +#include #ifdef RTE_EXEC_ENV_LINUXAPP #include