diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index ddee0b4560a..cb8ee1cfaae 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1318,7 +1318,8 @@ init_sys_modes () | |||
| 1318 | #ifdef F_SETFL | 1318 | #ifdef F_SETFL |
| 1319 | #ifndef F_SETOWN_BUG | 1319 | #ifndef F_SETOWN_BUG |
| 1320 | #ifdef F_GETOWN /* F_SETFL does not imply existence of F_GETOWN */ | 1320 | #ifdef F_GETOWN /* F_SETFL does not imply existence of F_GETOWN */ |
| 1321 | if (interrupt_input) | 1321 | if (interrupt_input |
| 1322 | && ! read_socket_hook && EQ (Vwindow_system, Qnil)) | ||
| 1322 | { | 1323 | { |
| 1323 | old_fcntl_owner = fcntl (input_fd, F_GETOWN, 0); | 1324 | old_fcntl_owner = fcntl (input_fd, F_GETOWN, 0); |
| 1324 | fcntl (input_fd, F_SETOWN, getpid ()); | 1325 | fcntl (input_fd, F_SETOWN, getpid ()); |