X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Ftty.c;fp=pppd%2Ftty.c;h=dbfc67e3864482c8d2e72790acceef72e23cd31f;hb=a75742c5e72fa5718e57d77586887d58755feebe;hp=d6026981613a67e736062e4f30a7cd50ed52e822;hpb=3f5640f901a83dd41367b8cdeeaa90222f3c967a;p=ppp.git 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 #include @@ -512,7 +512,9 @@ int connect_tty() { char *connector; int fdflags; +#ifndef __linux__ struct stat statbuf; +#endif char numbuf[16]; /*