Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/lib-src/emacsserver.c Mon Aug 13 08:54:26 2007 +0200 +++ b/lib-src/emacsserver.c Mon Aug 13 08:54:51 2007 +0200 @@ -59,6 +59,13 @@ #if ! defined (HAVE_SYSVIPC) /* BSD code is very different from SYSV IPC code */ +#include "../src/sysproc.h" /* Needed for select */ +#ifndef SOCK_STREAM +/* this is normally included by src/sysproc.h. might be safe to omit + * it entirely. lousy ultrix's sys/socket.h chokes if it's included + * twice, so we can't include unconditionally. */ +#include <sys/socket.h> +#endif #include <sys/types.h> #include <sys/file.h> #include <sys/signal.h> @@ -66,13 +73,6 @@ #include <sys/un.h> #include <stdio.h> #include <errno.h> -#include "../src/sysproc.h" /* Needed for select */ -#ifndef SOCK_STREAM -/* this is normally included by src/sysproc.h. might be safe to omit - * it entirely. lousy ultrix's sys/socket.h chokes if it's included - * twice, so we can't include unconditionally. */ -#include <sys/socket.h> -#endif void main ()