diff --git a/tests/test/units/dos/tfexpand.pp b/tests/test/units/dos/tfexpand.pp index ce48e1a47e..ae6ae254ee 100644 --- a/tests/test/units/dos/tfexpand.pp +++ b/tests/test/units/dos/tfexpand.pp @@ -7,6 +7,11 @@ program TFExpand; (* to be written to the console to make debugging easier. *) uses +{$ifdef FPC} + {$ifdef win32} + win32err, + {$endif win32} +{$endif FPC} Dos; {$IFDEF OS2}