comparison lib-src/emacsserver.c @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents 8b8b7f3559a2
children 8619ce7e4c50
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
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
69 #include <sys/types.h> 62 #include <sys/types.h>
70 #include <sys/file.h> 63 #include <sys/file.h>
64 #include <sys/socket.h>
71 #include <sys/signal.h> 65 #include <sys/signal.h>
72 #include <sys/stat.h> /* Needed for chmod, at least on Linux */ 66 #include <sys/stat.h> /* Needed for chmod, at least on Linux */
73 #include <sys/un.h> 67 #include <sys/un.h>
74 #include <stdio.h> 68 #include <stdio.h>
75 #include <errno.h> 69 #include <errno.h>
70 #include "../src/sysproc.h" /* Needed for select */
76 71
77 void 72 void
78 main () 73 main ()
79 { 74 {
80 char system_name[256]; 75 char system_name[256];