* 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:
Pavel Roskin 2002-01-22 00:30:51 +00:00
parent 22b2813349
commit 93fd1572a5
3 changed files with 11 additions and 6 deletions

View File

@ -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.

View File

@ -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

View File

@ -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]) )