aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 3c8d426b814..ffaa0598f9b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2331,6 +2331,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
2331 else if (nread == -1 && errno == EWOULDBLOCK) 2331 else if (nread == -1 && errno == EWOULDBLOCK)
2332 ; 2332 ;
2333#endif 2333#endif
2334 /* ISC 4.1 defines both EWOULDBLOCK and O_NONBLOCK,
2335 and Emacs uses O_NONBLOCK, so what we get is EAGAIN. */
2334#ifdef O_NONBLOCK 2336#ifdef O_NONBLOCK
2335 else if (nread == -1 && errno == EAGAIN) 2337 else if (nread == -1 && errno == EAGAIN)
2336 ; 2338 ;