DirectX 9 (and any other version of DirectX) generally comes packed with any game that uses it, no matter on which kind of operating system you play. You don't have to worry about not being able to accuire the correct DirectX version for your game if you upgrade to a newer OS.
Besides, older DirectX packages are also available for download on the web.