summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-20 15:33:09 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-20 15:33:09 +0000
commit7bc026e60841486b872c6eea91863cbb56f10a00 (patch)
tree32bba24137fd83ea726828145349b4833d0ff9eb /c
parent2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-7bc026e60841486b872c6eea91863cbb56f10a00.tar.bz2
2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* console.c: Include <rtems/error.h> for rtems_panic().
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/shared/ChangeLog4
-rw-r--r--c/src/lib/libbsp/shared/console.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog
index d3dcf0703b..480e6a446a 100644
--- a/c/src/lib/libbsp/shared/ChangeLog
+++ b/c/src/lib/libbsp/shared/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * console.c: Include <rtems/error.h> for rtems_panic().
+
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* console.c: RTEMS_DEBUG is a define, not a variable.
diff --git a/c/src/lib/libbsp/shared/console.c b/c/src/lib/libbsp/shared/console.c
index 75cb2612b2..93ba6f9d98 100644
--- a/c/src/lib/libbsp/shared/console.c
+++ b/c/src/lib/libbsp/shared/console.c
@@ -24,6 +24,7 @@
#include <termios.h>
#include <rtems/termiostypes.h>
+#include <rtems/error.h> /* rtems_panic */
#include <libchip/serial.h>
#include "console_private.h"