Commit 7437486b authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Use right define name for f_fstypename member check

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (g_local_file_query_filesystem_info):
	Use right define name for f_fstypename member check

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Add required includes for f_fstypename member check.
	

svn path=/trunk/; revision=6703
parent 7dc75d70
2008-03-14 Alexander Larsson <alexl@redhat.com>
* configure.in:
Add required includes for f_fstypename member check.
2008-03-14 Alexander Larsson <alexl@redhat.com>
* configure.in:
......
......@@ -842,7 +842,12 @@ AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct
AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct statfs.f_fstypename], [#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/mount.h>])
#ifdef HAVE_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_MOUNT_H
#include <sys/mount.h>
#endif])
# Checks for libcharset
jm_LANGINFO_CODESET
......
2008-03-14 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
(g_local_file_query_filesystem_info):
Use right define name for f_fstypename member check
2008-03-14 Alexander Larsson <alexl@redhat.com>
* Makefile.am:
......
......@@ -1001,7 +1001,7 @@ g_local_file_query_filesystem_info (GFile *file,
#endif
}
#ifdef USE_STATFS
#if defined(HAVE_STRUCT_STATFS_FS_TYPENAME)
#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
fstype = g_strdup(statfs_buffer.f_fstypename);
#else
fstype = get_fs_type (statfs_buffer.f_type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment