--- cpio-2.11.orig/src/filetypes.h 2012-10-01 17:27:29 +0600 +++ cpio-2.11/src/filetypes.h 2012-10-01 17:12:52 +0600 @@ -82,4 +82,6 @@ #define lstat stat #endif int lstat (); +#ifndef stat int stat (); +#endif