contrib/less: Fix edit.c for building
authorAaron LI <aly@aaronly.me>
Mon, 11 Mar 2024 15:10:57 +0000 (23:10 +0800)
committerAaron LI <aly@aaronly.me>
Mon, 11 Mar 2024 15:10:57 +0000 (23:10 +0800)
commitb2ced873797f89ad408a0118f85b968529aecbec
tree3f8075eaed78eb85ad937ae958f0a8aeb8559a4f
parent590dac95752a27ec27033dec8dc2c6186b2408ad
contrib/less: Fix edit.c for building

edit.c: In function 'close_pipe':
edit.c:307:14: error: 'SIGPIPE' undeclared (first use in this function); did you mean 'SI_TIMER'?
   if (sig != SIGPIPE || ch_length() != NULL_POSITION)
              ^~~~~~~
              SI_TIMER
contrib/less/edit.c