diff options
author | James Carlson <carlsonj@workingcode.com> | 2004-01-17 05:47:55 +0000 |
---|---|---|
committer | James Carlson <carlsonj@workingcode.com> | 2004-01-17 05:47:55 +0000 |
commit | a75742c5e72fa5718e57d77586887d58755feebe (patch) | |
tree | 7de758269e3b87001fab4d807a2c9cc36804ee5f /pppd/tty.c | |
parent | 3f5640f901a83dd41367b8cdeeaa90222f3c967a (diff) | |
download | ppp-a75742c5e72fa5718e57d77586887d58755feebe.tar.gz |
Fixed compilation failure on Solaris due to new CHAP (missing chap-md5.o
in makefile).
Updated ppp_mod so that it will work with Solaris 10 and beyond
(identify entry point is now obsolete).
Fixed warnings in chat, bsd-comp, deflate, vjcompress, chap-new,
sys-solaris, tty, pppdump, ppp_comp.
Diffstat (limited to 'pppd/tty.c')
-rw-r--r-- | pppd/tty.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -73,7 +73,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: tty.c,v 1.13 2004/01/13 04:17:59 paulus Exp $" +#define RCSID "$Id: tty.c,v 1.14 2004/01/17 05:47:55 carlsonj Exp $" #include <stdio.h> #include <ctype.h> @@ -512,7 +512,9 @@ int connect_tty() { char *connector; int fdflags; +#ifndef __linux__ struct stat statbuf; +#endif char numbuf[16]; /* |