file reorg, pathnames.h, paths.h
[unix-history] / usr / src / old / cpio / cpio.c
index eac1fac..4235558 100644 (file)
@@ -27,6 +27,7 @@
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <paths.h>
 
 struct utimbuf {
        time_t  actime;
 
 struct utimbuf {
        time_t  actime;
@@ -129,7 +130,7 @@ static
 FILE   *Rtty,
        *Wtty;
 static
 FILE   *Rtty,
        *Wtty;
 static
-char   ttyname[] = "/dev/tty";
+char   ttyname[] = _PATH_TTY;
 
 static
 char   **Pattern = 0;
 
 static
 char   **Pattern = 0;