Replace #pragma once by traditional include guards.
Merge pull request #3215 from TimothyHills/fix-for-grey-msg-font

Replace #pragma once by traditional include guards.