diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 05feba73253..fc46e743328 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -40,6 +40,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 40 | #include <netinet/in.h> | 40 | #include <netinet/in.h> |
| 41 | #include <arpa/inet.h> | 41 | #include <arpa/inet.h> |
| 42 | 42 | ||
| 43 | #endif /* subprocesses */ | ||
| 44 | |||
| 43 | #ifdef HAVE_SETRLIMIT | 45 | #ifdef HAVE_SETRLIMIT |
| 44 | # include <sys/resource.h> | 46 | # include <sys/resource.h> |
| 45 | 47 | ||
| @@ -49,6 +51,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 49 | static struct rlimit nofile_limit; | 51 | static struct rlimit nofile_limit; |
| 50 | #endif | 52 | #endif |
| 51 | 53 | ||
| 54 | #ifdef subprocesses | ||
| 55 | |||
| 52 | /* Are local (unix) sockets supported? */ | 56 | /* Are local (unix) sockets supported? */ |
| 53 | #if defined (HAVE_SYS_UN_H) | 57 | #if defined (HAVE_SYS_UN_H) |
| 54 | #if !defined (AF_LOCAL) && defined (AF_UNIX) | 58 | #if !defined (AF_LOCAL) && defined (AF_UNIX) |
| @@ -3830,7 +3834,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3830 | Lisp_Object proc; | 3834 | Lisp_Object proc; |
| 3831 | Lisp_Object contact; | 3835 | Lisp_Object contact; |
| 3832 | struct Lisp_Process *p; | 3836 | struct Lisp_Process *p; |
| 3833 | const char *portstring; | 3837 | const char *portstring UNINIT; |
| 3834 | ptrdiff_t portstringlen ATTRIBUTE_UNUSED; | 3838 | ptrdiff_t portstringlen ATTRIBUTE_UNUSED; |
| 3835 | char portbuf[INT_BUFSIZE_BOUND (EMACS_INT)]; | 3839 | char portbuf[INT_BUFSIZE_BOUND (EMACS_INT)]; |
| 3836 | #ifdef HAVE_LOCAL_SOCKETS | 3840 | #ifdef HAVE_LOCAL_SOCKETS |
| @@ -7455,6 +7459,13 @@ keyboard_bit_set (fd_set *mask) | |||
| 7455 | 7459 | ||
| 7456 | #else /* not subprocesses */ | 7460 | #else /* not subprocesses */ |
| 7457 | 7461 | ||
| 7462 | /* This is referenced in thread.c:run_thread (which is never actually | ||
| 7463 | called, since threads are not enabled for this configuration. */ | ||
| 7464 | void | ||
| 7465 | update_processes_for_thread_death (Lisp_Object dying_thread) | ||
| 7466 | { | ||
| 7467 | } | ||
| 7468 | |||
| 7458 | /* Defined in msdos.c. */ | 7469 | /* Defined in msdos.c. */ |
| 7459 | extern int sys_select (int, fd_set *, fd_set *, fd_set *, | 7470 | extern int sys_select (int, fd_set *, fd_set *, fd_set *, |
| 7460 | struct timespec *, void *); | 7471 | struct timespec *, void *); |