2003-06-04 Joel Sherrill <joel@OARcorp.com>

* pppd/system.h: Hack from Ralf to compile on all targets.
This commit is contained in:
Joel Sherrill
2003-06-04 20:35:27 +00:00
parent 85eb9544cf
commit 7423766bb6
4 changed files with 22 additions and 0 deletions

View File

@@ -3,7 +3,11 @@
#define SYSTEM_H
#include <rtems.h>
/* HACK */
#if defined(__i386__)
#include <tty_drv.h>
#endif
/* functions */
extern rtems_task Init(rtems_task_argument argument);
@@ -15,8 +19,11 @@ extern rtems_task Init(rtems_task_argument argument);
rtems_driver_address_table Device_drivers[5] = {
CONSOLE_DRIVER_TABLE_ENTRY,
CLOCK_DRIVER_TABLE_ENTRY,
/* HACK */
#if defined(__i386__)
TTY1_DRIVER_TABLE_ENTRY,
TTY2_DRIVER_TABLE_ENTRY,
#endif
{NULL, NULL, NULL, NULL, NULL, NULL}
};
#endif