aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 943cb2a1048..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/>. */
49static struct rlimit nofile_limit; 51static 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)
@@ -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. */
7464void
7465update_processes_for_thread_death (Lisp_Object dying_thread)
7466{
7467}
7468
7458/* Defined in msdos.c. */ 7469/* Defined in msdos.c. */
7459extern int sys_select (int, fd_set *, fd_set *, fd_set *, 7470extern int sys_select (int, fd_set *, fd_set *, fd_set *,
7460 struct timespec *, void *); 7471 struct timespec *, void *);