--- zzzz-none-000/linux-5.4.213/scripts/mod/modpost.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/scripts/mod/modpost.h 2024-08-14 09:02:15.000000000 +0000 @@ -8,7 +8,11 @@ #include #include #include +#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#else +#include "elf.h" +#endif #include "elfconfig.h" @@ -143,7 +147,6 @@ Elf_Section export_gpl_sec; Elf_Section export_unused_gpl_sec; Elf_Section export_gpl_future_sec; - char *ksymtab_strings; char *strtab; char *modinfo; unsigned int modinfo_len;