declare alloca for SINIX
authorPaul Mackerras <paulus@samba.org>
Sat, 14 Sep 1996 05:18:24 +0000 (05:18 +0000)
committerPaul Mackerras <paulus@samba.org>
Sat, 14 Sep 1996 05:18:24 +0000 (05:18 +0000)
pppd/sys-svr4.c

index 90a0b3bbfa581518ba8a8bc0b7ed4a0f35b26271..f43427ed94585258c4ef5df5b0d3681bbfda16f0 100644 (file)
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: sys-svr4.c,v 1.12 1996/08/28 06:42:47 paulus Exp $";
+static char rcsid[] = "$Id: sys-svr4.c,v 1.13 1996/09/14 05:18:24 paulus Exp $";
 #endif
 
 #include <limits.h>
 #include <stdio.h>
 #include <stddef.h>
 #include <stdlib.h>
+#ifdef SNI
+extern void *alloca(size_t);
+#else
 #include <alloca.h>
+#endif
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>