[rtems-libbsd commit] tests/termios: Fix warnings
Sebastian Huber
sebh at rtems.org
Fri Aug 24 07:08:54 UTC 2018
Module: rtems-libbsd
Branch: master
Commit: 8e35aaa9df31f21e9cf011e1c5bcc5e5ddfefdd7
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=8e35aaa9df31f21e9cf011e1c5bcc5e5ddfefdd7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Aug 20 15:19:37 2018 +0200
tests/termios: Fix warnings
---
testsuite/termios/test_termios_utilities.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/testsuite/termios/test_termios_utilities.c b/testsuite/termios/test_termios_utilities.c
index e1429ef..ee3e0fb 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
+}
More information about the vc
mailing list