[dpdk-dev] [PATCH] rte_memory.h: include stdio.h for FILE
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Jun 27 02:11:19 CEST 2014
> The below commit requires stdio FILE structure.
>
> commit 591a9d7985c1230652d9f7ea1f9221e8c66ec188
> Author: Stephen Hemminger <stephen at networkplumber.org>
> Date: Fri May 2 16:42:56 2014 -0700
>
> add FILE argument to debug functions
>
> 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 <h-shimamoto at ct.jp.nec.com>
> Reviewed-by: Hayato Momma <h-momma at ce.jp.nec.com>
Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
Applied for version 1.7.0.
Thanks
--
Thomas
More information about the dev
mailing list