While editing a source file in Emacs with DOS line endings I've got a little voice in the back of my head buzzing that I should really convert those line endings...
Anyway, I found a painless way to do that conversion within Emacs:
M-x set-buffer-file-coding-system
At the prompt enter: "unix"