From: Paul Mackerras Date: Sat, 14 Sep 1996 05:13:25 +0000 (+0000) Subject: define alloca for SunOS X-Git-Tag: RELEASE_2_3_6~335 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=3fbaf30129feeca4eadddd47b57dca7968175e53 define alloca for SunOS --- 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() {