1
1

* 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.
Этот коммит содержится в:
Pavel Roskin 2002-01-22 00:30:51 +00:00
родитель 22b2813349
Коммит 93fd1572a5
3 изменённых файлов: 11 добавлений и 6 удалений

Просмотреть файл

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