fix bulid against newer glibc
PATCH 1/1 fix bulid against newer glibc
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
---
sbin/mkfs/mkfs.c +1 -0
@@ -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
Ryusuke Konishi
AppliedHi,
Quoted 6 lines · Eric Sandeen
Changes in recent glibc were breaking the build on Rawhide; we need to explicitly include
sys/stat.hto getS_ISREGetc.See also https://bugzilla.redhat.com/show_bug.cgi?id=564788
Signed-off-by Eric Sandeen <[email protected]>
Applied to utils git repo, Thanks!
Ryusuke Konishi
Quoted 17 lines
---
Index:
nilfs-utils-2.0.15/sbin/mkfs/mkfs.c
===================================================================sbin/mkfs/mkfs.c +1
-1@@ -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> --
Quoted 3 lines
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
--
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