[PATCH] fix bulid against newer glibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <sandeen@xxxxxxxxxx>
---

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux