mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
* vfs.h: Remove all tricks with system headers, they all should
be in global.h. * cpio.c: Include utilvfs.h earlier. * tar.c: Likewise.
This commit is contained in:
parent
7b8b4394d5
commit
6975fdf5e8
@ -1,5 +1,10 @@
|
||||
2002-01-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* vfs.h: Remove all tricks with system headers, they all should
|
||||
be in global.h.
|
||||
* cpio.c: Include utilvfs.h earlier.
|
||||
* tar.c: Likewise.
|
||||
|
||||
* vfs.h: Include dirent.h only if it's present.
|
||||
|
||||
2002-01-21 Andrew V. Samoilov <kai@cmail.ru>
|
||||
|
@ -20,10 +20,10 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <config.h>
|
||||
#include "xdirentry.h"
|
||||
#include "utilvfs.h"
|
||||
#include <glib.h>
|
||||
#include <errno.h>
|
||||
#include "utilvfs.h"
|
||||
#include "xdirentry.h"
|
||||
|
||||
/* #include "utilvfs.h" */
|
||||
|
||||
|
@ -23,8 +23,8 @@
|
||||
#include <config.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "xdirentry.h"
|
||||
#include "utilvfs.h"
|
||||
#include "xdirentry.h"
|
||||
|
||||
#include "../src/dialog.h" /* For MSG_ERROR */
|
||||
#include "tar.h"
|
||||
|
29
vfs/vfs.h
29
vfs/vfs.h
@ -1,35 +1,6 @@
|
||||
#ifndef __VFS_H
|
||||
#define __VFS_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_DIRENT_H
|
||||
# include <dirent.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TIMEB_H
|
||||
# include <sys/timeb.h>
|
||||
#endif
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UTIME_H
|
||||
# include <utime.h>
|
||||
#else
|
||||
struct utimbuf {
|
||||
time_t actime;
|
||||
time_t modtime;
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef USE_VFS
|
||||
#ifdef HAVE_MMAP
|
||||
#include <sys/mman.h>
|
||||
|
Loading…
Reference in New Issue
Block a user