#if !defined (HAVE_SOCKETS) && !defined (HAVE_SYSVIPC)
#include <stdio.h>
+int
main ()
{
fprintf (stderr, "Sorry, the Emacs server is supported only on systems\n");
#else /* HAVE_SOCKETS or HAVE_SYSVIPC */
+void perror_1 ();
+void fatal_error ();
+
#if defined (HAVE_SOCKETS) && ! defined (NO_SOCKETS_IN_FILE_SYSTEM)
/* BSD code is very different from SYSV IPC code */
#include <errno.h>
#include <sys/stat.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
extern int errno;
/* Copied from src/process.c */
/* Set up to handle all the signals. */
+void
handle_signals ()
{
signal (SIGHUP, delete_socket);
Its stderr always exists--rms. */
#include <stdio.h>
+int
main ()
{
int s, infd, fromlen, ioproc;
\f
/* This is like perror but puts `Error: ' at the beginning. */
+void
perror_1 (string)
char *string;
{
perror (copy);
}
+void
fatal_error (string)
char *string;
{