Fixed the build of the boot floppy and removed all input_server headers
when USE_INPUT_SERVER is not defined. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11387 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,10 +9,6 @@
|
|||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <image.h>
|
#include <image.h>
|
||||||
#include <Message.h>
|
|
||||||
#include <AppDefs.h>
|
|
||||||
#include <InterfaceDefs.h>
|
|
||||||
#include <TypeConstants.h>
|
|
||||||
|
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@@ -21,12 +17,21 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "VTkeymap.h"
|
|
||||||
|
|
||||||
//#define USE_INPUT_SERVER
|
//#define USE_INPUT_SERVER
|
||||||
// define this if consoled should use the input_server to
|
// define this if consoled should use the input_server to
|
||||||
// get to its keyboard input
|
// get to its keyboard input
|
||||||
|
|
||||||
|
#ifdef USE_INPUT_SERVER
|
||||||
|
# include <Message.h>
|
||||||
|
# include <AppDefs.h>
|
||||||
|
# include <InterfaceDefs.h>
|
||||||
|
# include <TypeConstants.h>
|
||||||
|
|
||||||
|
# include "VTkeymap.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct console {
|
struct console {
|
||||||
int console_fd;
|
int console_fd;
|
||||||
int keyboard_fd;
|
int keyboard_fd;
|
||||||
|
|||||||
Reference in New Issue
Block a user