In the USES section do the following:
uses
Classes, SysUtils,
{$IFDEF WINDOWS}
WinTypes, WinProcs,
Graphics,
{$ENDIF}
{$IFDEF WIN32}
Windows,
Graphics,
{$ENDIF}
{$IFDEF LINUX}
Types,
QGraphics,
{$ENDIF}
{$IFNDEF NO_MATH}
Math,
{$ENDIF}
Misc, NoMath, Plotdefs, Titles;
This approach is prefered because Kylix may be ported to other platforms besides WinXX or Linux and simply adding another compliler test will be all that is necessary, since the CLX components are platform indpendent.
JLK
Nebraska Dept of Revenue