When I was building with MSYS2 on windows I was unable to continue building the sdl_win32 version due to a missing include for assert in epos.c.
To fix it on my end I just added the include for that header.
If the exact error is wanted it was this:
epos.c 17:5: warning: implicit declaration of function 'assert'