snprintf: removing missing prototype warnings
snprintf: removing missing prototype warnings

These prototypes are all in libcompat.h, and as there is no need
for this file to include libcompat.h, the missing headers are
put into this file.

git-svn-id: caee63afe878fe2ec7dbba394a86c9654d9110ca@839 64e312b2-a51f-0410-8e61-82d0ca0eb02a

svn2github/check,dashaomai/check-code,svn2github/check,svn2github/check,svn2github/check,dashaomai/check-code,svn2github/check,dashaomai/check-code,dashaomai/check-code