Mozilla, from time to time, might support building against multiple versions of the Windows SDK as a compatibility/transitional measure. If it does, several features will be disabled if you build with an SDK older than the default, which means that you'll have to specify a non-default SDK version explicitly.
Follow the instructions for whichever version of Visual C++ you're using.
This comes with the Windows 8.1 SDK included.
This comes with the Windows 8.1 SDK included.
This comes with the Windows 8.0 SDK included.
This comes with the Windows 8.0 SDK included.
This comes with the Windows 7 SDK, so you should be all set out of the box.
Download and install the Windows 7 SDK.
Some of the older version are no longer supported, further information is available at Obsolete Build Caveats and Tips [en-US] under the Windows SDK article.
Features that depend on this SDK include:
You can download the SDK from the Microsoft Download Center [web setup].
Features that depend on this SDK include:
You can download the SDK (v7.0 [web setup or ISO image] or unsupported v7.1 [web setup or ISO image]) from the Microsoft Download Center. Note that if you're running a 64 bit version of Windows you may require the "AMD" version of the SDK even if you have an Intel processor, and you may need to deselect the documentation component in the installer in order to avoid an installation error. (This was certainly the case for 64 bit Windows 7 on a late 2008 MacBook Pro.)
Older SDKs
These are no longer supported, further information is available at Obsolete Build Caveats and Tips [en-US] under the Windows SDK article.
Try the following things in order: