mirror of https://github.com/MidnightCommander/mc
Fixes for OS/2 to make these files in sync with changed Makefile.PC
This commit is contained in:
parent
d574ff2d58
commit
31db46fc3c
|
@ -32,10 +32,10 @@
|
||||||
#include <os2.h>
|
#include <os2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "tty.h"
|
#include "../src/tty.h"
|
||||||
#include "util.h"
|
#include "../src/util.h"
|
||||||
#include "win.h"
|
#include "../src/win.h"
|
||||||
#include "cons.saver.h"
|
#include "../src/cons.saver.h"
|
||||||
|
|
||||||
signed char console_flag = 1;
|
signed char console_flag = 1;
|
||||||
static unsigned char *scr_buffer;
|
static unsigned char *scr_buffer;
|
||||||
|
|
10
pc/key_os2.c
10
pc/key_os2.c
|
@ -33,12 +33,12 @@
|
||||||
#define INCL_WININPUT
|
#define INCL_WININPUT
|
||||||
#include <os2.h>
|
#include <os2.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "mouse.h"
|
#include "../src/mouse.h"
|
||||||
#include "global.h"
|
#include "../src/global.h"
|
||||||
#include "main.h"
|
#include "../src/main.h"
|
||||||
#include "key.h"
|
#include "../src/key.h"
|
||||||
#include "../vfs/vfs.h"
|
#include "../vfs/vfs.h"
|
||||||
#include "tty.h"
|
#include "../src/tty.h"
|
||||||
|
|
||||||
/* Code to read keystrokes in a separate thread */
|
/* Code to read keystrokes in a separate thread */
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#define INCL_DOS
|
#define INCL_DOS
|
||||||
#define INCL_PM
|
#define INCL_PM
|
||||||
#define INCL_DOSPROCESS
|
#define INCL_DOSPROCESS
|
||||||
|
@ -26,13 +28,11 @@
|
||||||
#define INCL_DOSDEVICES /* Device values */
|
#define INCL_DOSDEVICES /* Device values */
|
||||||
#define INCL_DOSDATETIME
|
#define INCL_DOSDATETIME
|
||||||
#define INCL_DOSERRORS
|
#define INCL_DOSERRORS
|
||||||
#include "config.h"
|
|
||||||
#include <os2.h>
|
#include <os2.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <config.h>
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -45,9 +45,9 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
#include <fs.h>
|
#include "../src/fs.h"
|
||||||
#include "util.h"
|
#include "../src/util.h"
|
||||||
#include "dialog.h"
|
#include "../src/dialog.h"
|
||||||
|
|
||||||
#ifndef ENOTEMPTY
|
#ifndef ENOTEMPTY
|
||||||
#define ENOTEMPTY ERROR_DIR_NOT_EMPTY
|
#define ENOTEMPTY ERROR_DIR_NOT_EMPTY
|
||||||
|
|
Loading…
Reference in New Issue