diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-20 15:19:37 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-20 15:20:51 +0200 |
commit | 8e35aaa9df31f21e9cf011e1c5bcc5e5ddfefdd7 (patch) | |
tree | cba9ac63289f9d17a7c174f0534ae1c33c286484 | |
parent | libkern.h: Avoid call overhead for bcmp() (diff) | |
download | rtems-libbsd-8e35aaa9df31f21e9cf011e1c5bcc5e5ddfefdd7.tar.bz2 |
tests/termios: Fix warnings
-rw-r--r-- | testsuite/termios/test_termios_utilities.c | 14 |
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 +} |