Replace _SC_PAGESIZE with the far more portable getpagesize().
(needed, eg, for Darwin).
 Kris Foster <kris@krweb.net>
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 6e12475..3492e74 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -217,7 +217,7 @@
 	
   /* Allow enough room for buffer to read more than a few pages from socket
    */
-  bufsz = 5 * sysconf(_SC_PAGESIZE) + 1;
+  bufsz = 5 * getpagesize() + 1;
   buf = XMALLOC(MTYPE_TMP, bufsz);
   memset(buf, 0, bufsz);
   pbuf = buf;