From 7423766bb6932b5acd8376f7c801a9194ce147c9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 4 Jun 2003 20:35:27 +0000 Subject: 2003-06-04 Joel Sherrill * pppd/system.h: Hack from Ralf to compile on all targets. --- c/src/tests/samples/ChangeLog | 4 ++++ c/src/tests/samples/pppd/system.h | 7 +++++++ testsuites/samples/ChangeLog | 4 ++++ testsuites/samples/pppd/system.h | 7 +++++++ 4 files changed, 22 insertions(+) diff --git a/c/src/tests/samples/ChangeLog b/c/src/tests/samples/ChangeLog index 40f957610e..e322f861cb 100644 --- a/c/src/tests/samples/ChangeLog +++ b/c/src/tests/samples/ChangeLog @@ -1,3 +1,7 @@ +2003-06-04 Joel Sherrill + + * pppd/system.h: Hack from Ralf to compile on all targets. + 2003-04-29 Ralf Corsepius * configure.ac: Add pppd. diff --git a/c/src/tests/samples/pppd/system.h b/c/src/tests/samples/pppd/system.h index 87678da1b6..1f41faab08 100644 --- a/c/src/tests/samples/pppd/system.h +++ b/c/src/tests/samples/pppd/system.h @@ -3,7 +3,11 @@ #define SYSTEM_H #include + +/* HACK */ +#if defined(__i386__) #include +#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 diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index 40f957610e..e322f861cb 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,7 @@ +2003-06-04 Joel Sherrill + + * pppd/system.h: Hack from Ralf to compile on all targets. + 2003-04-29 Ralf Corsepius * configure.ac: Add pppd. diff --git a/testsuites/samples/pppd/system.h b/testsuites/samples/pppd/system.h index 87678da1b6..1f41faab08 100644 --- a/testsuites/samples/pppd/system.h +++ b/testsuites/samples/pppd/system.h @@ -3,7 +3,11 @@ #define SYSTEM_H #include + +/* HACK */ +#if defined(__i386__) #include +#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 -- cgit v1.2.3