[xfs-masters] [Bug 895] New: xfsdump: build fails with glibc-2.12 due to missing sys/stat.h include
bugzilla-daemon at oss.sgi.com
bugzilla-daemon at oss.sgi.com
Sun Aug 29 17:21:42 CDT 2010
http://oss.sgi.com/bugzilla/show_bug.cgi?id=895
Summary: xfsdump: build fails with glibc-2.12 due to missing
sys/stat.h include
Product: XFS
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: xfsdump
AssignedTo: xfs-masters at oss.sgi.com
ReportedBy: vapier at gentoo.org
Estimated Hours: 0.0
Classification: Unclassified
newer glibc is better about namespace pollution. that means package need to
include sys/stat.h if they wish to use things from it. xfsdump fails in a few
spots due to this.
--- xfsdump-3.0.4/invutil/cmenu.c
+++ xfsdump-3.0.4/invutil/cmenu.c
@@ -21,6 +21,7 @@
#include <ncurses.h>
#include <signal.h>
+#include <sys/stat.h>
#include "types.h"
#include "mlog.h"
--- xfsdump-3.0.4/invutil/invidx.c
+++ xfsdump-3.0.4/invutil/invidx.c
@@ -21,6 +21,7 @@
#include <ncurses.h>
#include <sys/mman.h>
+#include <sys/stat.h>
#include "types.h"
#include "mlog.h"
--- xfsdump-3.0.4/invutil/stobj.c
+++ xfsdump-3.0.4/invutil/stobj.c
@@ -20,6 +20,7 @@
#include <xfs/jdm.h>
#include <ncurses.h>
#include <sys/mman.h>
+#include <sys/stat.h>
#include "types.h"
#include "mlog.h"
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the xfs-masters
mailing list