summaryrefslogtreecommitdiffstats
path: root/freebsd/bin/stty/gfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/bin/stty/gfmt.c')
-rw-r--r--freebsd/bin/stty/gfmt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/bin/stty/gfmt.c b/freebsd/bin/stty/gfmt.c
index 57adc1e6..7ffaf954 100644
--- a/freebsd/bin/stty/gfmt.c
+++ b/freebsd/bin/stty/gfmt.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[] = "@(#)gfmt.c 8.6 (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>