small fixes: better warning and missing includes


git-svn-id: https://ilk.uvt.nl/svn/sources/libticcutils/trunk@16425 12f355fe-0486-481a-ad91-c297ab22b4e3