summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/ttyname_r.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-03 14:22:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-03 14:22:58 +0000
commit47f7dc5dacc6b5336ed420d44c352669c8a409fa (patch)
tree75d1b5b18d5031113e00e2f6c98c8731d1ad421e /c/src/lib/libc/ttyname_r.c
parent2002-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-47f7dc5dacc6b5336ed420d44c352669c8a409fa.tar.bz2
2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/ctermid.c: Include <string.h>. * libc/ttyname.c: Ditto. * libc/ttyname_r.c: Ditto.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libc/ttyname_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libc/ttyname_r.c b/c/src/lib/libc/ttyname_r.c
index 42c93a4696..6cf4800dcb 100644
--- a/c/src/lib/libc/ttyname_r.c
+++ b/c/src/lib/libc/ttyname_r.c
@@ -50,6 +50,7 @@ static char sccsid[] = "@(#)ttyname.c 5.10 (Berkeley) 5/6/91";
#include <dirent.h>
#include <termios.h>
#include <unistd.h>
+#include <string.h>
#include <paths.h>
#include <_syslist.h>
#include <errno.h>