time_r: Add missing declarations on HP-UX 11.
[pspp] / lib / ptsname.c
index 3c7a9e043b876970eacfbdad4052cc8a302c7865..c2bea0164fabb98981d26f881580839500938310 100644 (file)
@@ -43,7 +43,7 @@ static int __ptsname_r (int fd, char *buf, size_t buflen);
 
 
 /* Static buffer for `ptsname'.  */
-static char buffer[sizeof (_PATH_TTY) + 2];
+static char buffer[64];
 
 
 /* Return the pathname of the pseudo terminal slave associated with