summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-06-04 20:35:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-06-04 20:35:27 +0000
commit7423766bb6932b5acd8376f7c801a9194ce147c9 (patch)
tree28fea4e705b6f2cc5d49b81fc80690b0cfa76ba4 /testsuites/samples/pppd/system.h
parent85eb9544cf39fe97081a54d707625b70b70a50cf (diff)
downloadrtems-7423766bb6932b5acd8376f7c801a9194ce147c9.tar.bz2
2003-06-04 Joel Sherrill <joel@OARcorp.com>
* pppd/system.h: Hack from Ralf to compile on all targets.
Diffstat (limited to '')
-rw-r--r--testsuites/samples/pppd/system.h7
1 files changed, 7 insertions, 0 deletions
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 <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