diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-03-01 16:54:44 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-03-01 16:54:44 -0800 |
| commit | 8e8d7917d5742c7ce42b46681c7c4430a51da505 (patch) | |
| tree | 3a862b1e565e077d27181ff8ddefaf3b14559732 /src/vi/ex-070224/ex.c | |
| parent | 66e66f76d8f6d938ca438be761f8187295b5e0b7 (diff) | |
changes to compile with musl (avoid sbrk)
Diffstat (limited to 'src/vi/ex-070224/ex.c')
| -rw-r--r-- | src/vi/ex-070224/ex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vi/ex-070224/ex.c b/src/vi/ex-070224/ex.c index a6b5121..caf88f2 100644 --- a/src/vi/ex-070224/ex.c +++ b/src/vi/ex-070224/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 |
