line 3 gives "warning: passing argument 1 of ‘stat’ from incompatible pointer type [-Wincompatible-pointer-types]" error when I compile it on gcc. What causes this problem and how do I fix it?
Dependency *dep_cur = rule->dependencies;
struct stat check_stat;
stat(dep_cur, &check_stat);