summaryrefslogtreecommitdiff
path: root/ex.c
diff options
context:
space:
mode:
Diffstat (limited to 'ex.c')
-rw-r--r--ex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ex.c b/ex.c
index a6b5121..caf88f2 100644
--- a/ex.c
+++ b/ex.c
@@ -87,6 +87,7 @@ static char sccsid[] = "@(#)ex.c 1.37 (gritter) 8/4/05";
#include "ex_argv.h"
#include "ex_temp.h"
#include "ex_tty.h"
+#include "brk_shim.h"
#ifdef TRACE
char tttrace[] = { '/','d','e','v','/','t','t','y','x','x',0 };
@@ -529,7 +530,7 @@ argend:
* this as ed does, saving a little core, but it will probably
* not often make much difference.
*/
- fendcore = (line *) sbrk(0);
+ fendcore = (line *) shim_sbrk(0);
endcore = fendcore - 2;
#ifdef SIGTSTP