Changes in recent glibc were breaking the build on Rawhide;
we need to explicitly include sys/stat.h to get S_ISREG etc.

See also https://bugzilla.redhat.com/show_bug.cgi?id=564788

Signed-off-by: Eric Sandeen <[email protected]>
---

Index: nilfs-utils-2.0.15/sbin/mkfs/mkfs.c
===================================================================
--- nilfs-utils-2.0.15.orig/sbin/mkfs/mkfs.c
+++ nilfs-utils-2.0.15/sbin/mkfs/mkfs.c
@@ -42,6 +42,7 @@
 #include <strings.h>
 #include <stdarg.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <sys/wait.h>
 #include <uuid/uuid.h>
 #include <string.h>


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to