diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-03-02 19:39:44 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-03-02 19:39:44 -0800 |
| commit | 54de1d6ca94bc0f7ffac6ad721933caf4db46ed5 (patch) | |
| tree | f4b73f06509db5ad9312fe6095b91a10f38e1f33 /ex.c | |
| parent | af7a7377241af78c70c7badf8ddfc79e55325899 (diff) | |
changes to compile with musl (avoid sbrk)
Diffstat (limited to 'ex.c')
| -rw-r--r-- | ex.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
