I've made a MSVC-compilable version that doesn't need you to install all the GNU stuff on your PC. You can get it from the filebase here (source, native Win32 binaries and documentation included) :
http://filebase.bots-united.com/inde...on=file&id=245
Please note that indent is
not a GNU tool, it was originally a BSD tool, but the GNU folks decided to make it their own but kept the original "indent" name and sticked their GPL on it, leading to confusion. Here I've restored the original BSD indenting options by default.
Also note that there are much better indenting tools available on the market, for different languages (even if most of which are commercial). Look for "pretty printer" on Google to find some. PolyStyle is a good example. I don't use any btw, I format my code while I type
but it's very handy to clean out other people's code when you want to look at it.
*edit*
moving this to the proper forum, no objections ?