1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-11 22:23:24 +00:00

merged socat did not compile on Solaris when configured with --disable-termios

This commit is contained in:
Gerhard Rieger 2008-09-24 09:05:39 +02:00
commit 674b0e608d
8 changed files with 34 additions and 8 deletions

View file

@ -412,6 +412,7 @@ int devinfo(int fd) {
int cdevan(int fd, FILE *outfile) {
int ret;
#if _WITH_TERMIOS
if ((ret = Isatty(fd)) < 0) {
Warn2("isatty(%d): %s", fd, strerror(errno));
return -1;
@ -458,6 +459,7 @@ int cdevan(int fd, FILE *outfile) {
}
}
}
#endif /* _WITH_TERMIOS */
return 0;
}