mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* main.c: Include "drive.h", not <drive.h>, do it after panel.h.
Use _OS_NT as the condition for including drive.h. * screen.c: Use _OS_NT as the condition for including drive.h.
This commit is contained in:
parent
22b2813349
commit
93fd1572a5
@ -1,5 +1,9 @@
|
||||
2002-01-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* main.c: Include "drive.h", not <drive.h>, do it after panel.h.
|
||||
Use _OS_NT as the condition for including drive.h.
|
||||
* screen.c: Use _OS_NT as the condition for including drive.h.
|
||||
|
||||
* global.h [_OS_NT]: Include io.h, direct.h and windows.h.
|
||||
Don't redefine struct timeval.
|
||||
|
||||
|
@ -42,10 +42,6 @@
|
||||
#include <fcntl.h> /* For O_RDWR */
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef NEEDS_DRIVE_H
|
||||
# include <drive.h>
|
||||
#endif
|
||||
|
||||
/* Program include files */
|
||||
#include "global.h"
|
||||
#include "tty.h"
|
||||
@ -85,6 +81,10 @@
|
||||
#include "chmod.h"
|
||||
#include "chown.h"
|
||||
|
||||
#ifdef _OS_NT
|
||||
# include "drive.h"
|
||||
#endif
|
||||
|
||||
#include "../vfs/vfs.h"
|
||||
|
||||
#ifdef HAVE_CHARSET
|
||||
|
@ -45,8 +45,9 @@
|
||||
#include "profile.h"
|
||||
#include "widget.h"
|
||||
#include "../vfs/vfs.h"
|
||||
#ifdef NEEDS_DRIVE_H
|
||||
# include "drive.h"
|
||||
|
||||
#ifdef _OS_NT
|
||||
# include "drive.h"
|
||||
#endif
|
||||
|
||||
#define ELEMENTS(arr) ( sizeof(arr) / sizeof((arr)[0]) )
|
||||
|
Loading…
Reference in New Issue
Block a user