Mercurial > hg > xemacs-beta
comparison lib-src/emacsserver.c @ 114:8619ce7e4c50 r20-1b9
Import from CVS: tag r20-1b9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:21:54 +0200 |
parents | 131b0175ea99 |
children | 9f59509498e1 |
comparison
equal
deleted
inserted
replaced
113:2ec2fe4a4c89 | 114:8619ce7e4c50 |
---|---|
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]; |