summaryrefslogtreecommitdiff
path: root/pppstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1996-09-14 05:13:25 +0000
committerPaul Mackerras <paulus@samba.org>1996-09-14 05:13:25 +0000
commit3fbaf30129feeca4eadddd47b57dca7968175e53 (patch)
tree12d2d858bfaafd9ff16473b4c14ba65b7b6e638d /pppstats
parent41a536661dff2f46601d37b59e0ab992f2aa018a (diff)
downloadppp-3fbaf30129feeca4eadddd47b57dca7968175e53.tar.gz
define alloca for SunOS
Diffstat (limited to 'pppstats')
-rw-r--r--pppstats/pppstats.c7
1 files changed, 6 insertions, 1 deletions
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 <stdio.h>
@@ -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()
{