API: Fixed timeval struct formatting .
Merge pull request #145 from troky/master

API: Fixed timeval struct formatting.