summaryrefslogtreecommitdiff
path: root/pppd/tty.c
diff options
context:
space:
mode:
authorJames Carlson <carlsonj@workingcode.com>2004-01-17 05:47:55 +0000
committerJames Carlson <carlsonj@workingcode.com>2004-01-17 05:47:55 +0000
commita75742c5e72fa5718e57d77586887d58755feebe (patch)
tree7de758269e3b87001fab4d807a2c9cc36804ee5f /pppd/tty.c
parent3f5640f901a83dd41367b8cdeeaa90222f3c967a (diff)
downloadppp-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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pppd/tty.c b/pppd/tty.c
index d602698..dbfc67e 100644
--- a/pppd/tty.c
+++ b/pppd/tty.c
@@ -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];
/*