comparison lib-src/emacsserver.c @ 42:8b8b7f3559a2 r19-15b104

Import from CVS: tag r19-15b104
author cvs
date Mon, 13 Aug 2007 08:54:51 +0200
parents 7e54bd776075
children 131b0175ea99
comparison
equal deleted inserted replaced
41:5d6df4963a99 42:8b8b7f3559a2
57 #else /* HAVE_SOCKETS or HAVE_SYSVIPC */ 57 #else /* HAVE_SOCKETS or HAVE_SYSVIPC */
58 58
59 #if ! defined (HAVE_SYSVIPC) 59 #if ! defined (HAVE_SYSVIPC)
60 /* BSD code is very different from SYSV IPC code */ 60 /* BSD code is very different from SYSV IPC code */
61 61
62 #include "../src/sysproc.h" /* Needed for select */
63 #ifndef SOCK_STREAM
64 /* this is normally included by src/sysproc.h. might be safe to omit
65 * it entirely. lousy ultrix's sys/socket.h chokes if it's included
66 * twice, so we can't include unconditionally. */
67 #include <sys/socket.h>
68 #endif
62 #include <sys/types.h> 69 #include <sys/types.h>
63 #include <sys/file.h> 70 #include <sys/file.h>
64 #include <sys/signal.h> 71 #include <sys/signal.h>
65 #include <sys/stat.h> /* Needed for chmod, at least on Linux */ 72 #include <sys/stat.h> /* Needed for chmod, at least on Linux */
66 #include <sys/un.h> 73 #include <sys/un.h>
67 #include <stdio.h> 74 #include <stdio.h>
68 #include <errno.h> 75 #include <errno.h>
69 #include "../src/sysproc.h" /* Needed for select */
70 #ifndef SOCK_STREAM
71 /* this is normally included by src/sysproc.h. might be safe to omit
72 * it entirely. lousy ultrix's sys/socket.h chokes if it's included
73 * twice, so we can't include unconditionally. */
74 #include <sys/socket.h>
75 #endif
76 76
77 void 77 void
78 main () 78 main ()
79 { 79 {
80 char system_name[256]; 80 char system_name[256];