From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] rte_memory.h: include stdio.h for FILE Date: Fri, 27 Jun 2014 02:11:19 +0200 Message-ID: <1465279.oYkyYahRlY@xps13> References: <7F861DC0615E0C47A872E6F3C5FCDDBD0110E6A2@BPXM14GP.gisp.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org, Hayato Momma To: Hiroshi Shimamoto Return-path: In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD0110E6A2-ZmjkEB1lVlLt6d3pZDjeaEtBU8KWyXPq@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > The below commit requires stdio FILE structure. >=20 > commit 591a9d7985c1230652d9f7ea1f9221e8c66ec188 > Author: Stephen Hemminger > Date: Fri May 2 16:42:56 2014 -0700 >=20 > add FILE argument to debug functions >=20 > Application which includes rte_memory.h without stdio.h will be hit > compilation failure. >=20 > /path/to/include/rte_memory.h:146:30: error: unknown type name =E2=80= =98FILE=E2=80=99 > void rte_dump_physmem_layout(FILE *f); >=20 > Signed-off-by: Hiroshi Shimamoto > Reviewed-by: Hayato Momma Acked-by: Thomas Monjalon Applied for version 1.7.0. Thanks --=20 Thomas