From 3fbaf30129feeca4eadddd47b57dca7968175e53 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sat, 14 Sep 1996 05:13:25 +0000 Subject: [PATCH 1/1] define alloca for SunOS --- pppstats/pppstats.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index aa74575..3388f79 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.15 1996/08/28 06:43:30 paulus Exp $"; +static char rcsid[] = "$Id: pppstats.c,v 1.16 1996/09/14 05:13:25 paulus Exp $"; #endif #include @@ -71,6 +71,11 @@ int signalled; /* set if alarm goes off "early" */ char *progname; char *interface; +#if defined(SUNOS4) +extern int optind; +extern char *optarg; +#endif + void usage() { -- 2.39.2