Re: [PATCH] statinfo.h: move DTYPE defines from dir.h
From: Eric Sunshine <hidden>
Date: 2023-06-02 19:06:53
From: Eric Sunshine <hidden>
Date: 2023-06-02 19:06:53
On Fri, Jun 2, 2023 at 3:03 PM Aleajndro R Sedeño [off-list ref] wrote:
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`?
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>