diff lib-src/emacsserver.c @ 19344:1151154e9ba4

(main): use SOCKLEN_TYPE for fromlen, if it is defined.
author Richard M. Stallman <rms@gnu.org>
date Thu, 14 Aug 1997 04:16:00 +0000
parents 31ffc80a329d
children 1a8c44e38d9c
line wrap: on
line diff
--- a/lib-src/emacsserver.c	Thu Aug 14 03:55:49 1997 +0000
+++ b/lib-src/emacsserver.c	Thu Aug 14 04:16:00 1997 +0000
@@ -206,7 +206,11 @@
 {
   char system_name[32];
   int s, infd;
+#ifdef SOCKLEN_TYPE
+  SOCKLEN_TYPE fromlen;
+#else
   size_t fromlen;
+#endif
   struct sockaddr_un server, fromunix;
   char *homedir;
   char *str, string[BUFSIZ], code[BUFSIZ];