In this post, we will see how to resolve Apparently erroneous implicit declaration of function warning Question: I am getting a warning for lstat being implicitly declared, but it should be explicitly declared in the included header. Compiling the following: ...