What follows is a guess but, based on the fpc compile image you posted, you have a program (emphasis on program) called "windows.pas" (the filename.) Your program uses the unit "crt" which in turn I believe uses "windows" (filename: windows.pas), since there is a "windows.pas" file in your program directory, the compiler opens your local "windows.pas" expecting it to be the "windows" unit.
If the above guess is correct, the compiler has every right to complain because there are two "program" clauses present and in addition to that, the "windows.pas" file it finds is _not_ the implementation of the "windows" unit.
rename your local windows.pas to something like "MyWindows.pas" and try compiling your "xyz" (or whatever its name is) program again.