summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-20 15:19:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-20 15:20:51 +0200
commit8e35aaa9df31f21e9cf011e1c5bcc5e5ddfefdd7 (patch)
treecba9ac63289f9d17a7c174f0534ae1c33c286484
parent1d99262f59e5b7427e926ed045610a1c049be337 (diff)
downloadrtems-libbsd-8e35aaa9df31f21e9cf011e1c5bcc5e5ddfefdd7.tar.bz2
tests/termios: Fix warnings
-rw-r--r--testsuite/termios/test_termios_utilities.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/testsuite/termios/test_termios_utilities.c b/testsuite/termios/test_termios_utilities.c
index e1429ef1..ee3e0fb6 100644
--- a/testsuite/termios/test_termios_utilities.c
+++ b/testsuite/termios/test_termios_utilities.c
@@ -7,14 +7,22 @@
* http://www.rtems.org/license/LICENSE.
*/
+#include <machine/rtems-bsd-kernel-space.h>
+
+#include <sys/param.h>
+#include <sys/tty.h>
+#include <sys/ttydisc.h>
+
#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <rtems/console.h>
+#include <rtems/dumpbuf.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
@@ -230,4 +238,4 @@ void termios_test_driver_set_rx_char( char ch )
chs[0] = ch;
termios_test_driver_set_rx( &chs[0], 1 );
-} \ No newline at end of file
+}