ebbc582912
Related to: <https://fedoraproject.org/wiki/Changes/PortingToModernC> <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
20 lines
394 B
Diff
20 lines
394 B
Diff
test-fchmodat: Include <sys/stat.h> for the fchmodat prototype
|
|
|
|
Submitted upstream:
|
|
|
|
<https://github.com/ColinIanKing/stress-ng/pull/247>
|
|
|
|
diff --git a/test/test-fchmodat.c b/test/test-fchmodat.c
|
|
index 7a8f59de42716057..209e6841f3a738f1 100644
|
|
--- a/test/test-fchmodat.c
|
|
+++ b/test/test-fchmodat.c
|
|
@@ -18,7 +18,7 @@
|
|
*
|
|
*/
|
|
|
|
-#include <unistd.h>
|
|
+#include <sys/stat.h>
|
|
|
|
int main(void)
|
|
{
|