tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code