fix 'typedef redefinition' build errors on older gcc versions
building toxcore
Merge pull request #669 from alexandervdm/master

fix 'typedef redefinition' build errors on older gcc versions