comparison lib-src/emacsserver.c @ 40:7e54bd776075 r19-15b103

Import from CVS: tag r19-15b103
author cvs
date Mon, 13 Aug 2007 08:54:25 +0200
parents 376386a54a3c
children 8b8b7f3559a2
comparison
equal deleted inserted replaced
39:06f275776fba 40:7e54bd776075
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 <sys/types.h> 62 #include <sys/types.h>
63 #include <sys/file.h> 63 #include <sys/file.h>
64 #include <sys/socket.h>
65 #include <sys/signal.h> 64 #include <sys/signal.h>
66 #include <sys/stat.h> /* Needed for chmod, at least on Linux */ 65 #include <sys/stat.h> /* Needed for chmod, at least on Linux */
67 #include <sys/un.h> 66 #include <sys/un.h>
68 #include <stdio.h> 67 #include <stdio.h>
69 #include <errno.h> 68 #include <errno.h>
70 #include "../src/sysproc.h" /* Needed for select */ 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
71 76
72 void 77 void
73 main () 78 main ()
74 { 79 {
75 char system_name[256]; 80 char system_name[256];