Re: [PATCH] statinfo.h: move DTYPE defines from dir.h
From: Alejandro Sedeño <hidden>
Date: 2023-06-02 19:21:49
From: Alejandro Sedeño <hidden>
Date: 2023-06-02 19:21:49
That is a valid question, and it's another typo. I meant name-hash.c. -Alejandro On Fri, Jun 2, 2023 at 3:06 PM Eric Sunshine [off-list ref] wrote:
On Fri, Jun 2, 2023 at 3:03 PM Aleajndro R Sedeño [off-list ref] wrote:quoted
These definitions are used in cache.h, which can't include dir.h without causing name-info.cc to have two definitions of `struct dir_entry`.What is `name-info.cc`?quoted
Both dir.h and cache.h include statinfo.h, and this seems a reasonable place for these definitions. This change fixes a broken build issue on old SunOS. Signed-off-by: Alejandro R. Sedeño <redacted> Signed-off-by: Alejandro R Sedeño <redacted>