Mercurial > hg > xemacs-beta
diff lib-src/emacsserver.c @ 116:9f59509498e1 r20-1b10
Import from CVS: tag r20-1b10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:23:06 +0200 |
parents | 8619ce7e4c50 |
children |
line wrap: on
line diff
--- a/lib-src/emacsserver.c Mon Aug 13 09:21:56 2007 +0200 +++ b/lib-src/emacsserver.c Mon Aug 13 09:23:06 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 ()