@vtjnash OK, then placing

    #include <stdio.h>
    #include <stdlib.h>
    #include <sys/stat.h>

before the mentioned `#define`'s sounds like a solution. Is there an issue for this problem? Should I fix this or you do it (or already did it)?