if you want to remove it, even without windows.h, you can SIMPLY just add -mwindows to your compiler flags (gcc), so gcc examplefile.c -mwindows -o example.exe
gcc examplefile.c -mwindows -o example.exe