mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 07:33:27 +08:00

The previous check was including these as relative includes, meaning the actual system header files weren't actually being explicitly included and the check could spuriously fail. CMAKE_EXTRA_INCLUDE_FILES doesn't seem to have a way to specify that the includes should be treated as system/global includes and CHECK_TYPE_SIZE() isn't documented as being affected by any other variables that do, so switch to another method altogether. This requires that `struct winsize` have a member `ws_row`, but as best as I can tell that is always the case. Closes #9279.