diff --git a/libc/BUILD.mk b/libc/BUILD.mk index 11e8eb3c2..b7eb93f49 100644 --- a/libc/BUILD.mk +++ b/libc/BUILD.mk @@ -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 \ diff --git a/libc/proc/paginate.c b/libc/proc/paginate.c index baa0f9e50..f5d4b8355 100644 --- a/libc/proc/paginate.c +++ b/libc/proc/paginate.c @@ -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);