[trunk] Fix compilation issue where size_t would be undefined