]> git.eshelyaron.com Git - emacs.git/commitdiff
(main): use SOCKLEN_TYPE for fromlen, if it is defined.
authorRichard M. Stallman <rms@gnu.org>
Thu, 14 Aug 1997 04:16:00 +0000 (04:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 14 Aug 1997 04:16:00 +0000 (04:16 +0000)
lib-src/emacsserver.c

index 9fbf3e86516e93a30859a112fb5ce3aed490ac88..ad5285de453765ec2d2664a2909a20db01b86c90 100644 (file)
@@ -206,7 +206,11 @@ main (argc, argv)
 {
   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];