mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Add missing build dependency
This commit is contained in:
parent
31dcdefaa8
commit
1bb52c223b
2 changed files with 3 additions and 1 deletions
|
@ -164,6 +164,7 @@ libc/isystem/semaphore.h \
|
|||
libc/isystem/set \
|
||||
libc/isystem/setjmp.h \
|
||||
libc/isystem/sgxintrin.h \
|
||||
libc/isystem/shadow.h \
|
||||
libc/isystem/shared_mutex \
|
||||
libc/isystem/signal.h \
|
||||
libc/isystem/smmintrin.h \
|
||||
|
|
|
@ -33,7 +33,8 @@ void __paginate(int fd, const char *s) {
|
|||
char progpath[PATH_MAX];
|
||||
if (strcmp(nulltoempty(getenv("TERM")), "dumb") && isatty(0) && isatty(1) &&
|
||||
((args[0] = commandv("less", progpath, sizeof(progpath))) ||
|
||||
(args[0] = commandv("more", progpath, sizeof(progpath))))) {
|
||||
(args[0] = commandv("more", progpath, sizeof(progpath))) ||
|
||||
(args[0] = commandv("more.exe", progpath, sizeof(progpath))))) {
|
||||
if ((tfd = mkstemp(tmppath)) != -1) {
|
||||
write(tfd, s, strlen(s));
|
||||
close(tfd);
|
||||
|
|
Loading…
Reference in a new issue