diff options
author | Kevin Kirspel <kevin-kirspel@idexx.com> | 2017-05-04 08:27:57 -0400 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-05-11 11:15:41 +0200 |
commit | 567cce1260cb6b07a662275ae8238c28ab611761 (patch) | |
tree | 43810b58af348ee7304bdd5a760e155f2a606162 /freebsd/bin/stty/cchar.c | |
parent | Adding tty support files from FREEBSD tree (diff) | |
download | rtems-libbsd-567cce1260cb6b07a662275ae8238c28ab611761.tar.bz2 |
Updating STTY command for use in RTEMS shell
Diffstat (limited to 'freebsd/bin/stty/cchar.c')
-rw-r--r-- | freebsd/bin/stty/cchar.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/freebsd/bin/stty/cchar.c b/freebsd/bin/stty/cchar.c index 4a925daa..7335cc3f 100644 --- a/freebsd/bin/stty/cchar.c +++ b/freebsd/bin/stty/cchar.c @@ -1,5 +1,8 @@ #include <machine/rtems-bsd-user-space.h> +#ifdef __rtems__ +#include "rtems-bsd-stty-namespace.h" +#endif /* __rtems__ */ /*- * Copyright (c) 1991, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -37,6 +40,9 @@ static char sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94"; #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#ifdef __rtems__ +#include <machine/rtems-bsd-program.h> +#endif /* __rtems__ */ #include <sys/types.h> #include <err.h> @@ -47,6 +53,9 @@ __FBSDID("$FreeBSD$"); #include "stty.h" #include "extern.h" +#ifdef __rtems__ +#include "rtems-bsd-stty-cchar-data.h" +#endif /* __rtems__ */ static int c_cchar(const void *, const void *); |